Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.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.TestStodolaTurbine3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3",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.7865/0.7865, allocations: 150.8 MB / 166 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 15.98 kB / 204.1 MB, free: 9.977 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.124, allocations: 31.33 MB / 235.4 MB, free: 5.414 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.SimpleExamples.TestStodolaTurbine3): time 1.49/1.614, allocations: 295.5 MB / 0.5185 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05105/1.666, allocations: 48.92 MB / 0.5663 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/1.666, allocations: 8 kB / 0.5663 GB, free: 10.61 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StodolaTurbine.mo:59:3-61:16:writable] Warning: Connector Ce 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/StodolaTurbine.mo:62:3-63:52:writable] Warning: Connector Cs 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/StodolaTurbine.mo:67:3-71: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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C 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/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C 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/StodolaTurbine.mo:59:3-61:16:writable] Warning: Connector Ce 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/StodolaTurbine.mo:62:3-63:52:writable] Warning: Connector Cs 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/StodolaTurbine.mo:67:3-71: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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C 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/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C 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.0005016/1.666, allocations: 183.9 kB / 0.5664 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/1.667, allocations: 254.1 kB / 0.5667 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02404/1.691, allocations: 9.632 MB / 0.5761 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/1.692, allocations: 1.008 MB / 0.5771 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/1.692, allocations: 276.6 kB / 0.5773 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/1.693, allocations: 374.2 kB / 0.5777 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/1.693, allocations: 330.3 kB / 0.578 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/1.693, allocations: 32 kB / 0.578 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03368/1.727, allocations: 23.8 MB / 0.6013 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/1.727, allocations: 107.4 kB / 0.6014 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004261/1.727, allocations: 378 kB / 0.6017 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01976/1.747, allocations: 11.59 MB / 0.6131 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.747, allocations: 0 / 0.6131 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/1.747, allocations: 4 kB / 0.6131 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.896e-06/1.747, allocations: 0 / 0.6131 GB, free: 10.61 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.005298/1.752, allocations: 2.261 MB / 0.6153 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/1.752, allocations: 12.03 kB / 0.6153 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/1.753, allocations: 119.5 kB / 0.6154 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/1.753, allocations: 78.97 kB / 0.6155 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/1.753, allocations: 348.7 kB / 0.6158 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/1.753, allocations: 167.7 kB / 0.616 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/1.753, allocations: 48 kB / 0.616 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.754, allocations: 0.8342 MB / 0.6168 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.754, allocations: 7.938 kB / 0.6168 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/1.754, allocations: 24 kB / 0.6169 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/1.755, allocations: 43.95 kB / 0.6169 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/1.756, allocations: 0.6016 MB / 0.6175 GB, free: 5.895 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.0368/1.792, allocations: 20.23 MB / 0.6372 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/1.793, allocations: 482 kB / 0.6377 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/1.794, allocations: 355.8 kB / 0.638 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.326/2.12, allocations: 109.2 MB / 0.7446 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/2.12, allocations: 44.38 kB / 0.7447 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=132): time 3.146e-06/2.12, allocations: 0.5625 kB / 0.7447 GB, free: 183.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=132): time 0.003402/2.123, allocations: 1.826 MB / 0.7465 GB, free: 182.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/2.123, allocations: 77.11 kB / 0.7465 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/2.123, allocations: 405.7 kB / 0.7469 GB, free: 182.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/2.124, allocations: 32.08 kB / 0.747 GB, free: 182.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/2.124, allocations: 241.9 kB / 0.7472 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/2.124, allocations: 429.8 kB / 0.7476 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/2.124, allocations: 123.2 kB / 0.7477 GB, free: 181.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/2.124, allocations: 380.6 kB / 0.7481 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004363/2.124, allocations: 283 kB / 0.7484 GB, free: 181.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/2.125, allocations: 433.7 kB / 0.7488 GB, free: 181.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/2.126, allocations: 0.7759 MB / 0.7495 GB, free: 181 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/2.126, allocations: 0 / 0.7495 GB, free: 181 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001701/2.128, allocations: 1.077 MB / 0.7506 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/2.128, allocations: 11.72 kB / 0.7506 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/2.128, allocations: 3.75 kB / 0.7506 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009323/2.129, allocations: 0.4978 MB / 0.7511 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/2.129, allocations: 52.08 kB / 0.7511 GB, free: 180.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/2.13, allocations: 2.525 MB / 0.7536 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/2.131, allocations: 109 kB / 0.7537 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/2.131, allocations: 23.5 kB / 0.7537 GB, free: 178.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (sourceP1.C.b,puitsP1.C.a,stodolaTurbine1.Cs.b,stodolaTurbine1.Ce.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 (34): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001873/2.131, allocations: 190.9 kB / 0.7539 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/2.131, allocations: 62.66 kB / 0.754 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/2.133, allocations: 2.093 MB / 0.756 GB, free: 177.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001523/2.135, allocations: 1.074 MB / 0.7571 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/2.135, allocations: 3.938 kB / 0.7571 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/2.135, allocations: 7.484 kB / 0.7571 GB, free: 177.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/2.139, allocations: 3.367 MB / 0.7604 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/2.139, allocations: 12.5 kB / 0.7604 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004311/2.139, allocations: 157.4 kB / 0.7605 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008348/2.14, allocations: 0.513 MB / 0.761 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/2.14, allocations: 35.11 kB / 0.7611 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/2.141, allocations: 2.584 MB / 0.7636 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/2.141, allocations: 15 kB / 0.7636 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/2.143, allocations: 1.654 MB / 0.7652 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/2.143, allocations: 183.5 kB / 0.7654 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/2.143, allocations: 60.67 kB / 0.7654 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005307/2.144, allocations: 51.12 kB / 0.7655 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/2.144, allocations: 97.7 kB / 0.7656 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/2.144, allocations: 35.81 kB / 0.7656 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004673/2.145, allocations: 0.5302 MB / 0.7661 GB, free: 170 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/2.145, allocations: 8 kB / 0.7661 GB, free: 170 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003686/2.148, allocations: 1.914 MB / 0.768 GB, free: 168.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008115/2.156, allocations: 4.746 MB / 0.7726 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001574/2.158, allocations: 1.26 MB / 0.7739 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/2.158, allocations: 0 / 0.7739 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/2.159, allocations: 0.5641 MB / 0.7744 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/2.161, allocations: 474 kB / 0.7749 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/2.172, allocations: 9.231 MB / 0.7839 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/2.172, allocations: 1.054 MB / 0.7849 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003806/2.173, allocations: 98.8 kB / 0.785 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/2.173, allocations: 383.3 kB / 0.7854 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/2.173, allocations: 0 / 0.7854 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08998/2.263, allocations: 87.41 MB / 0.8707 GB, free: 65.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/2.263, allocations: 241.1 kB / 0.871 GB, free: 65.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.066/8.329, allocations: 0 / 0.871 GB, free: 65.24 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStodolaTurbine3.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStodolaTurbine3.pipe 2>&1)