Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.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.TestStodolaTurbine1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine1",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.8085/0.8085, allocations: 150.8 MB / 166.1 MB, free: 15.45 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.594e-05, allocations: 4 kB / 204.9 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1399, allocations: 31.98 MB / 236.8 MB, free: 5.395 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.TestStodolaTurbine1): time 1.552/1.692, allocations: 296.4 MB / 0.5207 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05294/1.745, allocations: 48.23 MB / 0.5678 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004707/1.746, allocations: 8 kB / 0.5678 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/1.746, allocations: 187 kB / 0.568 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005273/1.747, allocations: 218.3 kB / 0.5682 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02532/1.772, allocations: 9.889 MB / 0.5779 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/1.773, allocations: 0.9456 MB / 0.5788 GB, free: 208 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/1.773, allocations: 277.1 kB / 0.579 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/1.774, allocations: 326.4 kB / 0.5794 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/1.774, allocations: 306.3 kB / 0.5797 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.884e-05/1.774, allocations: 24 kB / 0.5797 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03615/1.81, allocations: 23.92 MB / 0.603 GB, free: 7.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/1.811, allocations: 99.44 kB / 0.6031 GB, free: 7.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/1.811, allocations: 371.7 kB / 0.6035 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0226/1.834, allocations: 11.47 MB / 0.6147 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.834, allocations: 4 kB / 0.6147 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.245e-06/1.834, allocations: 0 / 0.6147 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.606e-06/1.834, allocations: 0 / 0.6147 GB, free: 11.36 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.005543/1.839, allocations: 2.144 MB / 0.6168 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.839, allocations: 16.03 kB / 0.6168 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/1.839, allocations: 119.1 kB / 0.6169 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/1.839, allocations: 78.97 kB / 0.617 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/1.84, allocations: 360.3 kB / 0.6173 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/1.84, allocations: 112.6 kB / 0.6174 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/1.84, allocations: 52 kB / 0.6175 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/1.841, allocations: 0.7854 MB / 0.6183 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/1.841, allocations: 0 / 0.6183 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/1.841, allocations: 24 kB / 0.6183 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/1.841, allocations: 35.91 kB / 0.6183 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/1.842, allocations: 0.5864 MB / 0.6189 GB, free: 6.906 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.03831/1.881, allocations: 19.81 MB / 0.6382 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.882, allocations: 0.5392 MB / 0.6388 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005485/1.882, allocations: 338.8 kB / 0.6391 GB, free: 276 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3526/2.235, allocations: 110 MB / 0.7465 GB, free: 184.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/2.235, allocations: 45.92 kB / 0.7465 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=116): time 2.715e-06/2.235, allocations: 0 / 0.7465 GB, free: 184.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=116): time 0.00316/2.238, allocations: 1.667 MB / 0.7482 GB, free: 184 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/2.238, allocations: 55.25 kB / 0.7482 GB, free: 183.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/2.239, allocations: 418.2 kB / 0.7486 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/2.239, allocations: 29.02 kB / 0.7486 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/2.239, allocations: 251.8 kB / 0.7489 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/2.239, allocations: 377.6 kB / 0.7492 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.069e-05/2.239, allocations: 86.8 kB / 0.7493 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/2.239, allocations: 377 kB / 0.7497 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/2.24, allocations: 276.3 kB / 0.75 GB, free: 183.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/2.24, allocations: 399.7 kB / 0.7503 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/2.241, allocations: 0.7226 MB / 0.751 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/2.241, allocations: 0 / 0.751 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003534/2.245, allocations: 1.362 MB / 0.7524 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/2.245, allocations: 11.84 kB / 0.7524 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/2.245, allocations: 4.688 kB / 0.7524 GB, free: 182.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/2.246, allocations: 0.5854 MB / 0.753 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/2.247, allocations: 51.12 kB / 0.753 GB, free: 182.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/2.248, allocations: 2.181 MB / 0.7551 GB, free: 181 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/2.249, allocations: 106.7 kB / 0.7552 GB, free: 180.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/2.249, allocations: 23.19 kB / 0.7553 GB, free: 180.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,DynamicCentrifugalPump1.C2.b,DynamicCentrifugalPump1.C1.a,sourceP.C.b,puitsP.C.a,stodolaTurbine.Cs.b,stodolaTurbine.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(6,15), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002075/2.249, allocations: 193.6 kB / 0.7554 GB, free: 180.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/2.249, allocations: 59.11 kB / 0.7555 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/2.251, allocations: 1.738 MB / 0.7572 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001596/2.253, allocations: 1.014 MB / 0.7582 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/2.253, allocations: 4 kB / 0.7582 GB, free: 180 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/2.253, allocations: 3.984 kB / 0.7582 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003534/2.256, allocations: 2.732 MB / 0.7609 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/2.256, allocations: 8.531 kB / 0.7609 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/2.257, allocations: 192.1 kB / 0.7611 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/2.258, allocations: 336.9 kB / 0.7614 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/2.258, allocations: 32.61 kB / 0.7614 GB, free: 178.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002724/2.261, allocations: 5.318 MB / 0.7666 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/2.261, allocations: 12.5 kB / 0.7666 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/2.263, allocations: 1.774 MB / 0.7683 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/2.263, allocations: 274.3 kB / 0.7686 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/2.263, allocations: 26.31 kB / 0.7686 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/2.264, allocations: 59 kB / 0.7687 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/2.264, allocations: 80.11 kB / 0.7688 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/2.264, allocations: 35.42 kB / 0.7688 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000433/2.264, allocations: 455.6 kB / 0.7692 GB, free: 171 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/2.264, allocations: 0 / 0.7692 GB, free: 171 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004224/2.269, allocations: 1.913 MB / 0.7711 GB, free: 169.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 3 (DynamicCentrifugalPump1.w,DynamicCentrifugalPump1.h,Shaft1.delta) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/2.279, allocations: 4.83 MB / 0.7758 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001894/2.281, allocations: 1.171 MB / 0.777 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/2.281, allocations: 4 kB / 0.777 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/2.282, allocations: 0.7726 MB / 0.7777 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/2.285, allocations: 367 kB / 0.7781 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/2.298, allocations: 9.054 MB / 0.7869 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/2.298, allocations: 1.022 MB / 0.7879 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003361/2.298, allocations: 79.47 kB / 0.788 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/2.299, allocations: 355.3 kB / 0.7883 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/2.299, allocations: 0 / 0.7883 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/2.418, allocations: 83.31 MB / 0.8697 GB, free: 70.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/2.418, allocations: 248.7 kB / 0.8699 GB, free: 70.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.728/8.146, allocations: 1.938 kB / 0.8699 GB, free: 70.59 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine1_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine1.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine1.pipe 2>&1)