Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.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: "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7544/0.7544, allocations: 150.9 MB / 166 MB, free: 14.32 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002923, allocations: 15.97 kB / 204.1 MB, free: 9.836 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 31.33 MB / 235.4 MB, free: 5.461 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.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump): time 1.441/1.57, allocations: 294.4 MB / 0.5174 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03555/1.605, allocations: 34.08 MB / 0.5507 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/1.605, allocations: 4 kB / 0.5507 GB, free: 10.91 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:71:3-72:53:writable] Warning: Connector Ce1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:73:3-74:53:writable] Warning: Connector Cs2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:78:3-79:55:writable] Warning: Connector Ce2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Volumes/Tank.mo:80:3-81:51:writable] Warning: Connector Cs1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:45:3-47:43:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/ControlValve.mo:48:3-50:38:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004136/1.606, allocations: 112.3 kB / 0.5508 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/1.606, allocations: 150.8 kB / 0.551 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01614/1.622, allocations: 6.463 MB / 0.5573 GB, free: 4.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007426/1.623, allocations: 0.6935 MB / 0.558 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003053/1.623, allocations: 270.2 kB / 0.5582 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003049/1.624, allocations: 266.9 kB / 0.5585 GB, free: 2.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/1.624, allocations: 302.7 kB / 0.5588 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/1.624, allocations: 32 kB / 0.5588 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02194/1.646, allocations: 14.89 MB / 0.5733 GB, free: 3.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/1.646, allocations: 107.6 kB / 0.5734 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003016/1.646, allocations: 270.5 kB / 0.5737 GB, free: 3.352 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/1.661, allocations: 7.836 MB / 0.5814 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.662, allocations: 0 / 0.5814 GB, free: 11.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/1.662, allocations: 0 / 0.5814 GB, free: 11.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.076e-05/1.662, allocations: 4 kB / 0.5814 GB, free: 11.49 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.006059/1.668, allocations: 1.797 MB / 0.5831 GB, free: 9.641 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.668, allocations: 8.031 kB / 0.5831 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001202/1.668, allocations: 86.52 kB / 0.5832 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/1.668, allocations: 59.28 kB / 0.5833 GB, free: 9.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/1.668, allocations: 337.7 kB / 0.5836 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/1.668, allocations: 62.62 kB / 0.5836 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/1.669, allocations: 40 kB / 0.5837 GB, free: 9.008 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/1.67, allocations: 0.6571 MB / 0.5843 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.67, allocations: 0 / 0.5843 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.273e-05/1.67, allocations: 30.73 kB / 0.5843 GB, free: 8.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/1.67, allocations: 16 kB / 0.5844 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/1.672, allocations: 0.6428 MB / 0.585 GB, free: 7.625 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/1.675, allocations: 3.136 MB / 0.5881 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/1.678, allocations: 0.6917 MB / 0.5887 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008399/1.679, allocations: 322.1 kB / 0.589 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07327/1.752, allocations: 44.15 MB / 0.6322 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/1.753, allocations: 374.6 kB / 0.6325 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 3.617e-06/1.753, allocations: 0 / 0.6325 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.009203/1.762, allocations: 2.137 MB / 0.6346 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/1.762, allocations: 59.19 kB / 0.6347 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/1.763, allocations: 333.5 kB / 0.635 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/1.763, allocations: 33.7 kB / 0.635 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/1.763, allocations: 236.9 kB / 0.6352 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.763, allocations: 224.6 kB / 0.6354 GB, free: 14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/1.763, allocations: 118.1 kB / 0.6356 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.763, allocations: 358.8 kB / 0.6359 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008046/1.764, allocations: 269.4 kB / 0.6362 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/1.765, allocations: 429.1 kB / 0.6366 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006564/1.772, allocations: 1.734 MB / 0.6383 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.772, allocations: 3.938 kB / 0.6383 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002568/1.774, allocations: 1.009 MB / 0.6392 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.774, allocations: 8 kB / 0.6393 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.774, allocations: 4.312 kB / 0.6393 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002913/1.777, allocations: 0.7642 MB / 0.64 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/1.778, allocations: 147.7 kB / 0.6401 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/1.78, allocations: 1.574 MB / 0.6417 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005633/1.78, allocations: 107.4 kB / 0.6418 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/1.78, allocations: 27.98 kB / 0.6418 GB, free: 7.262 MB / 0.5294 GB Warning: Assuming fixed start value for the following 1 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,pulse.T0,VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a,Bache1.Cs1.a,Bache1.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(6,16), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002604/1.78, allocations: 175.6 kB / 0.642 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/1.781, allocations: 50.28 kB / 0.642 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003617/1.784, allocations: 1.454 MB / 0.6434 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00227/1.786, allocations: 1.036 MB / 0.6445 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.786, allocations: 4 kB / 0.6445 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.786, allocations: 3.984 kB / 0.6445 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/1.791, allocations: 2.236 MB / 0.6467 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/1.791, allocations: 0 / 0.6467 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/1.792, allocations: 175.7 kB / 0.6468 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.794, allocations: 0.6761 MB / 0.6475 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-05/1.794, allocations: 19.98 kB / 0.6475 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/1.795, allocations: 1.621 MB / 0.6491 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.795, allocations: 0 / 0.6491 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/1.799, allocations: 1.624 MB / 0.6507 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000244/1.799, allocations: 184.1 kB / 0.6508 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/1.799, allocations: 15.98 kB / 0.6509 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/1.8, allocations: 64 kB / 0.6509 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.8, allocations: 56.56 kB / 0.651 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/1.8, allocations: 20 kB / 0.651 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002072/1.8, allocations: 227.2 kB / 0.6512 GB, free: 13.45 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/1.8, allocations: 0 / 0.6512 GB, free: 13.45 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002832/1.803, allocations: 1.159 MB / 0.6523 GB, free: 12.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Bache1.z,Bache1.h) * Number of discrete variables: 2 ($whenCondition1,pulse.T0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(6,18), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008789/1.812, allocations: 3.694 MB / 0.6559 GB, free: 8.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00256/1.814, allocations: 0.9711 MB / 0.6569 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.814, allocations: 0 / 0.6569 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/1.816, allocations: 0.5271 MB / 0.6574 GB, free: 7.059 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.817, allocations: 195.5 kB / 0.6576 GB, free: 6.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.829, allocations: 6.238 MB / 0.6637 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/1.83, allocations: 0.9074 MB / 0.6646 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002866/1.83, allocations: 56.17 kB / 0.6646 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/1.831, allocations: 227.4 kB / 0.6648 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/1.831, allocations: 0 / 0.6648 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2284/2.059, allocations: 53.31 MB / 0.7169 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/2.059, allocations: 279.2 kB / 0.7172 GB, free: 196.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.08/6.139, allocations: 3.938 kB / 0.7172 GB, free: 196.8 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_Book_SimpleExamples_CentrifugalPump_TestStaticCentrifugalPump.fmu > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.CentrifugalPump.TestStaticCentrifugalPump.pipe 2>&1)