Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8752/0.8752, allocations: 153.8 MB / 170.2 MB, free: 13.78 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005417/0.0005417, allocations: 16.61 kB / 246.3 MB, free: 14.89 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06914/0.06968, allocations: 33.35 MB / 279.7 MB, free: 15.12 MB / 238.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSteamEngine): time 1.799/1.869, allocations: 307.5 MB / 0.5734 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03938/1.908, allocations: 29.16 MB / 0.6019 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/1.909, allocations: 0 / 0.6019 GB, free: 13.09 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/Machines/SteamEngine.mo:35:3-37:17: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 master/WaterSteam/Machines/SteamEngine.mo:38:3-39:44: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 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 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.0006008/1.909, allocations: 228.5 kB / 0.6021 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/1.91, allocations: 162.9 kB / 0.6023 GB, free: 12.71 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:1445:9-1445:35:writable] Warning: h was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02431/1.934, allocations: 9.683 MB / 0.6117 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007472/1.935, allocations: 438.1 kB / 0.6121 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/1.935, allocations: 96.5 kB / 0.6122 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/1.935, allocations: 179.2 kB / 0.6124 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/1.935, allocations: 143.3 kB / 0.6125 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/1.935, allocations: 20 kB / 0.6125 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03488/1.97, allocations: 20.54 MB / 0.6326 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.97, allocations: 43.8 kB / 0.6327 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002785/1.971, allocations: 159.2 kB / 0.6328 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02269/1.993, allocations: 8.598 MB / 0.6412 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.993, allocations: 0 / 0.6412 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/1.993, allocations: 0 / 0.6412 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.993, allocations: 3.938 kB / 0.6412 GB, free: 4.789 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004678/1.998, allocations: 1.46 MB / 0.6426 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.998, allocations: 12.03 kB / 0.6426 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.691e-05/1.998, allocations: 70.72 kB / 0.6427 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/1.998, allocations: 32.7 kB / 0.6427 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/1.998, allocations: 243.8 kB / 0.643 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.998, allocations: 16.38 kB / 0.643 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/1.998, allocations: 20 kB / 0.643 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/1.999, allocations: 353.1 kB / 0.6433 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.999, allocations: 3.938 kB / 0.6433 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/1.999, allocations: 8 kB / 0.6434 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/1.999, allocations: 19.97 kB / 0.6434 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/1.999, allocations: 212.8 kB / 0.6436 GB, free: 2.227 MB / 0.5137 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.02121/2.02, allocations: 9.935 MB / 0.6533 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/2.021, allocations: 115 kB / 0.6534 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/2.021, allocations: 81.72 kB / 0.6535 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1285/2.149, allocations: 55.52 MB / 0.7077 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/2.149, allocations: 38.59 kB / 0.7077 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.465e-06/2.149, allocations: 0 / 0.7077 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.001275/2.151, allocations: 0.5096 MB / 0.7082 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/2.151, allocations: 55.34 kB / 0.7083 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/2.151, allocations: 236.9 kB / 0.7085 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/2.151, allocations: 25.7 kB / 0.7085 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/2.151, allocations: 149.1 kB / 0.7087 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/2.151, allocations: 170.4 kB / 0.7088 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/2.151, allocations: 61.69 kB / 0.7089 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001638/2.152, allocations: 342.8 kB / 0.7092 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/2.152, allocations: 80.55 kB / 0.7093 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/2.152, allocations: 148.9 kB / 0.7094 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/2.152, allocations: 273.7 kB / 0.7097 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/2.152, allocations: 96 / 0.7097 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005764/2.153, allocations: 338.1 kB / 0.71 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/2.153, allocations: 12.03 kB / 0.71 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/2.153, allocations: 0 / 0.71 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/2.153, allocations: 108.8 kB / 0.7101 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/2.153, allocations: 11.98 kB / 0.7101 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005842/2.154, allocations: 0.6068 MB / 0.7107 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/2.154, allocations: 47.72 kB / 0.7108 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/2.154, allocations: 8 kB / 0.7108 GB, free: 6.57 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 (sourceP.C.b,puitsP.C.a,steamEngine1.C2.b,steamEngine1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/2.154, allocations: 141.1 kB / 0.7109 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/2.154, allocations: 27.81 kB / 0.7109 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/2.155, allocations: 0.7807 MB / 0.7117 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005904/2.156, allocations: 392.3 kB / 0.7121 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/2.156, allocations: 0 / 0.7121 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/2.156, allocations: 7.984 kB / 0.7121 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/2.158, allocations: 1.468 MB / 0.7135 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/2.158, allocations: 4 kB / 0.7135 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/2.158, allocations: 71.91 kB / 0.7136 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/2.158, allocations: 85.47 kB / 0.7137 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/2.158, allocations: 16 kB / 0.7137 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005165/2.159, allocations: 0.6342 MB / 0.7143 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/2.159, allocations: 12 kB / 0.7143 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/2.16, allocations: 0.6369 MB / 0.7149 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/2.16, allocations: 128.7 kB / 0.7151 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.74e-05/2.16, allocations: 27.89 kB / 0.7151 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/2.16, allocations: 12 kB / 0.7151 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/2.16, allocations: 51.77 kB / 0.7152 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/2.16, allocations: 12 kB / 0.7152 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003492/2.161, allocations: 291 kB / 0.7154 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.161, allocations: 0 / 0.7154 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004285/2.165, allocations: 1.353 MB / 0.7168 GB, free: 124 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2317/2.397, allocations: 2.712 MB / 0.7194 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008634/2.397, allocations: 466.2 kB / 0.7199 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/2.397, allocations: 1.094 kB / 0.7199 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/2.398, allocations: 179.9 kB / 0.72 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/2.399, allocations: 209.7 kB / 0.7202 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/2.405, allocations: 4.168 MB / 0.7243 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/2.405, allocations: 0.8394 MB / 0.7251 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001848/2.405, allocations: 46.89 kB / 0.7252 GB, free: 211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/2.405, allocations: 159.2 kB / 0.7253 GB, free: 211 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/2.405, allocations: 2.812 kB / 0.7253 GB, free: 211 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0967/2.502, allocations: 59.85 MB / 0.7838 GB, free: 165 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/17.87, allocations: 16.27 kB / 0.7838 GB, free: 165 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.sim & python3 -m fmpy simulate --output-file ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.911817452986725] Failed to read output from testmodel.py, exit status != 0: 18.152290675003314 18.160088382 16.16478333 Calling exit ...