Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7839/0.7839, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 11.98 kB / 204 MB, free: 10.15 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 31.33 MB / 235.4 MB, free: 5.473 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1): time 1.633/1.787, allocations: 293.1 MB / 0.5161 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1986/1.985, allocations: 188.9 MB / 0.7005 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/1.986, allocations: 8 kB / 0.7005 GB, free: 188 kB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002118/1.986, allocations: 35.64 kB / 0.7005 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3321/2.318, allocations: 143.5 kB / 0.7007 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02944/2.348, allocations: 8.814 MB / 0.7093 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001228/2.349, allocations: 0.5689 MB / 0.7098 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/2.35, allocations: 308.3 kB / 0.7101 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/2.35, allocations: 242.2 kB / 0.7104 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/2.35, allocations: 267.2 kB / 0.7106 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/2.351, allocations: 33.22 kB / 0.7107 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03995/2.39, allocations: 16.75 MB / 0.727 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003462/2.391, allocations: 209.4 kB / 0.7272 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005637/2.391, allocations: 362.2 kB / 0.7276 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03215/2.424, allocations: 9.071 MB / 0.7364 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/2.424, allocations: 2.844 kB / 0.7364 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.295e-06/2.424, allocations: 0 / 0.7364 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.795e-05/2.424, allocations: 3.531 kB / 0.7364 GB, free: 2.012 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.007061/2.431, allocations: 2.139 MB / 0.7385 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/2.431, allocations: 12.39 kB / 0.7385 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/2.431, allocations: 115.9 kB / 0.7386 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/2.431, allocations: 498.7 kB / 0.7391 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/2.431, allocations: 39.31 kB / 0.7391 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/2.432, allocations: 46.12 kB / 0.7392 GB, free: 200 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/2.433, allocations: 0.6961 MB / 0.7399 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/2.433, allocations: 2.906 kB / 0.7399 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/2.433, allocations: 18.94 kB / 0.7399 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/2.433, allocations: 14.28 kB / 0.7399 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/2.434, allocations: 0.7064 MB / 0.7406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07309/2.507, allocations: 33.33 MB / 0.7731 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/2.508, allocations: 0.8409 MB / 0.774 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/2.509, allocations: 279.2 kB / 0.7742 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2249/2.734, allocations: 110.6 MB / 0.8822 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/2.734, allocations: 34.56 kB / 0.8822 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/2.734, allocations: 0 / 0.8822 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29): time 0.004233/2.738, allocations: 1.467 MB / 0.8837 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/2.738, allocations: 51.41 kB / 0.8837 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/2.739, allocations: 0.895 MB / 0.8846 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/2.739, allocations: 29.33 kB / 0.8846 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/2.74, allocations: 460.3 kB / 0.885 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/2.74, allocations: 107.3 kB / 0.8851 GB, free: 11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/2.74, allocations: 82.81 kB / 0.8852 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001283/2.74, allocations: 328.6 kB / 0.8855 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/2.741, allocations: 265.2 kB / 0.8858 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/2.741, allocations: 396.5 kB / 0.8862 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/2.742, allocations: 0.6616 MB / 0.8868 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/2.742, allocations: 4 kB / 0.8868 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001682/2.744, allocations: 0.937 MB / 0.8877 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/2.744, allocations: 8.719 kB / 0.8877 GB, free: 8.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/2.744, allocations: 11.98 kB / 0.8878 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004319/2.748, allocations: 0.7096 MB / 0.8884 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/2.749, allocations: 74.34 kB / 0.8885 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/2.75, allocations: 1.167 MB / 0.8897 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/2.75, allocations: 66.41 kB / 0.8897 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/2.75, allocations: 19.69 kB / 0.8897 GB, free: 6.875 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0003703/2.751, allocations: 269.2 kB / 0.89 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/2.751, allocations: 90.86 kB / 0.8901 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/2.752, allocations: 0.8857 MB / 0.8909 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/2.752, allocations: 7.938 kB / 0.891 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/2.752, allocations: 0 / 0.891 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/2.752, allocations: 0 / 0.891 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/2.755, allocations: 1.572 MB / 0.8925 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/2.755, allocations: 0 / 0.8925 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/2.755, allocations: 42.88 kB / 0.8925 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/2.758, allocations: 0.5802 MB / 0.8931 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/2.758, allocations: 7.75 kB / 0.8931 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/2.759, allocations: 1.17 MB / 0.8942 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/2.759, allocations: 3.938 kB / 0.8943 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/2.761, allocations: 0.9146 MB / 0.8951 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/2.761, allocations: 182.5 kB / 0.8953 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/2.761, allocations: 12.03 kB / 0.8953 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/2.761, allocations: 27.59 kB / 0.8954 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/2.761, allocations: 15.97 kB / 0.8954 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/2.762, allocations: 11.3 kB / 0.8954 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008108/2.762, allocations: 0.6102 MB / 0.896 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.4e-07/2.762, allocations: 4 kB / 0.896 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004465/2.767, allocations: 1.325 MB / 0.8973 GB, free: 204 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008599/2.775, allocations: 2.002 MB / 0.8992 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001485/2.777, allocations: 0.6436 MB / 0.8999 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/2.777, allocations: 0 / 0.8999 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006304/2.778, allocations: 322.4 kB / 0.9002 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/2.778, allocations: 93.48 kB / 0.9003 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/2.781, allocations: 1.88 MB / 0.9021 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/2.782, allocations: 1.009 MB / 0.9031 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002344/2.782, allocations: 50.81 kB / 0.9031 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/2.782, allocations: 28.53 kB / 0.9032 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/2.782, allocations: 0 / 0.9032 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.06514/2.848, allocations: 44.48 MB / 0.9466 GB, free: 14.52 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1)