Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.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.SimpleExamples.TestStodolaTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine",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.8052/0.8052, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.711e-05, allocations: 4 kB / 204.9 MB, free: 9.965 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 31.98 MB / 236.8 MB, free: 5.16 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine): time 1.533/1.671, allocations: 297 MB / 0.5213 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0559/1.727, allocations: 48.8 MB / 0.5689 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/1.728, allocations: 12 kB / 0.569 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006424/1.728, allocations: 198.9 kB / 0.5691 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008519/1.729, allocations: 285.8 kB / 0.5694 GB, free: 9.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02656/1.756, allocations: 10.08 MB / 0.5793 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001422/1.757, allocations: 1.2 MB / 0.5804 GB, free: 14.44 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/1.758, allocations: 390.4 kB / 0.5808 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006463/1.758, allocations: 438 kB / 0.5812 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/1.759, allocations: 434 kB / 0.5816 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/1.759, allocations: 36 kB / 0.5817 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03678/1.796, allocations: 23.95 MB / 0.6051 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/1.796, allocations: 147.3 kB / 0.6052 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005233/1.797, allocations: 467.2 kB / 0.6056 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02243/1.819, allocations: 11.7 MB / 0.6171 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.819, allocations: 0 / 0.6171 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.819, allocations: 0 / 0.6171 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.034e-05/1.819, allocations: 4 kB / 0.6171 GB, free: 8.84 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.007597/1.827, allocations: 2.526 MB / 0.6195 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.827, allocations: 8.031 kB / 0.6196 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/1.827, allocations: 132 kB / 0.6197 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/1.827, allocations: 98.78 kB / 0.6198 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/1.828, allocations: 436 kB / 0.6202 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/1.828, allocations: 150.3 kB / 0.6203 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.828, allocations: 68 kB / 0.6204 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/1.83, allocations: 1.086 MB / 0.6215 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.83, allocations: 0 / 0.6215 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/1.83, allocations: 28 kB / 0.6215 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/1.83, allocations: 43.95 kB / 0.6215 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/1.833, allocations: 1.005 MB / 0.6225 GB, free: 3.102 MB / 0.4981 GB 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.02331/1.856, allocations: 13.17 MB / 0.6354 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/1.859, allocations: 1.057 MB / 0.6364 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/1.86, allocations: 0.5349 MB / 0.6369 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.354/2.214, allocations: 110 MB / 0.7443 GB, free: 188.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/2.214, allocations: 38.84 kB / 0.7444 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=137): time 2.425e-06/2.214, allocations: 0 / 0.7444 GB, free: 188.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137): time 0.008422/2.223, allocations: 2.939 MB / 0.7473 GB, free: 187.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/2.223, allocations: 55.94 kB / 0.7473 GB, free: 187.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004243/2.223, allocations: 466.2 kB / 0.7478 GB, free: 187.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/2.223, allocations: 37.55 kB / 0.7478 GB, free: 187.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/2.224, allocations: 315.6 kB / 0.7481 GB, free: 187.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/2.224, allocations: 454.8 kB / 0.7485 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/2.224, allocations: 105.2 kB / 0.7486 GB, free: 186.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/2.224, allocations: 388.8 kB / 0.749 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/2.225, allocations: 454.2 kB / 0.7494 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/2.226, allocations: 0.6468 MB / 0.7501 GB, free: 186.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/2.229, allocations: 1.143 MB / 0.7512 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/2.229, allocations: 6.906 kB / 0.7512 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003732/2.232, allocations: 1.654 MB / 0.7528 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/2.232, allocations: 7.375 kB / 0.7528 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/2.232, allocations: 6 kB / 0.7528 GB, free: 185.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003771/2.236, allocations: 1.191 MB / 0.754 GB, free: 184.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008095/2.237, allocations: 184.1 kB / 0.7541 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/2.239, allocations: 2.999 MB / 0.7571 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/2.24, allocations: 170.1 kB / 0.7572 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/2.24, allocations: 39.73 kB / 0.7573 GB, free: 181.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 14 (VanneReglante1.C2.b,VanneReglante1.C1.a,Bache1.Cs1.b,Bache1.Ce2.a,Bache1.Cs2.b,Bache1.Ce1.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.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 (52): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(9,21), (1,1), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002758/2.241, allocations: 223.4 kB / 0.7575 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/2.241, allocations: 78.97 kB / 0.7576 GB, free: 181.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/2.245, allocations: 2.704 MB / 0.7602 GB, free: 179.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003169/2.248, allocations: 1.684 MB / 0.7619 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/2.248, allocations: 4 kB / 0.7619 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/2.248, allocations: 6.188 kB / 0.7619 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/2.254, allocations: 3.77 MB / 0.7655 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/2.254, allocations: 8.125 kB / 0.7656 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/2.255, allocations: 299.2 kB / 0.7658 GB, free: 175 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002011/2.257, allocations: 0.8697 MB / 0.7667 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/2.257, allocations: 31.98 kB / 0.7667 GB, free: 174.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/2.259, allocations: 2.878 MB / 0.7695 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/2.259, allocations: 7.938 kB / 0.7695 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/2.263, allocations: 2.675 MB / 0.7721 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/2.264, allocations: 315.1 kB / 0.7724 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/2.264, allocations: 24.5 kB / 0.7725 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000791/2.265, allocations: 103.8 kB / 0.7726 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/2.265, allocations: 104.7 kB / 0.7727 GB, free: 169 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/2.265, allocations: 39.98 kB / 0.7727 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003933/2.265, allocations: 451.1 kB / 0.7731 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/2.265, allocations: 0 / 0.7731 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004068/2.269, allocations: 1.974 MB / 0.7751 GB, free: 166.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Bache1.z,Bache1.h) * 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 (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(5,16), (1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01234/2.282, allocations: 5.737 MB / 0.7807 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003392/2.285, allocations: 1.74 MB / 0.7824 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.285, allocations: 1.375 kB / 0.7824 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002035/2.287, allocations: 0.9277 MB / 0.7833 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00242/2.29, allocations: 430 kB / 0.7837 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/2.308, allocations: 11.15 MB / 0.7946 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/2.308, allocations: 1.103 MB / 0.7956 GB, free: 145.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004782/2.309, allocations: 109.8 kB / 0.7958 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/2.309, allocations: 455.3 kB / 0.7962 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/2.309, allocations: 0 / 0.7962 GB, free: 145.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/2.413, allocations: 89.53 MB / 0.8836 GB, free: 56.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/2.413, allocations: 237.2 kB / 0.8838 GB, free: 56.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.103/8.515, allocations: 0 / 0.8838 GB, free: 56.55 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine.pipe 2>&1)