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.8321/0.8321, allocations: 153.9 MB / 172.7 MB, free: 4.953 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.000486/0.000486, allocations: 15.97 kB / 249.9 MB, free: 4.465 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1722, allocations: 33.36 MB / 283.2 MB, free: 1.812 MB / 222.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.758/1.93, allocations: 307.7 MB / 0.5771 GB, free: 16.06 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02836/1.959, allocations: 29.21 MB / 0.6056 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003289/1.959, allocations: 3.281 kB / 0.6056 GB, free: 2.598 MB / 478.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.0006413/1.96, allocations: 232.6 kB / 0.6058 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/1.96, allocations: 159 kB / 0.606 GB, free: 2.391 MB / 478.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.02408/1.984, allocations: 9.696 MB / 0.6154 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007251/1.985, allocations: 439.5 kB / 0.6158 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/1.985, allocations: 93.84 kB / 0.6159 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/1.985, allocations: 186 kB / 0.6161 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/1.985, allocations: 137.1 kB / 0.6162 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/1.985, allocations: 18.78 kB / 0.6163 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03656/2.022, allocations: 20.56 MB / 0.6363 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/2.022, allocations: 51.78 kB / 0.6364 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000278/2.022, allocations: 162.5 kB / 0.6365 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01911/2.042, allocations: 8.605 MB / 0.6449 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/2.042, allocations: 0 / 0.6449 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.883e-06/2.042, allocations: 0 / 0.6449 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.36e-05/2.042, allocations: 0 / 0.6449 GB, free: 15.83 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.004201/2.046, allocations: 1.385 MB / 0.6463 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/2.046, allocations: 9.594 kB / 0.6463 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.662e-05/2.046, allocations: 71.27 kB / 0.6464 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/2.046, allocations: 33.55 kB / 0.6464 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/2.046, allocations: 183.5 kB / 0.6466 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/2.046, allocations: 22.5 kB / 0.6466 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/2.046, allocations: 20 kB / 0.6466 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/2.047, allocations: 353.3 kB / 0.647 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/2.047, allocations: 3.938 kB / 0.647 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/2.047, allocations: 12 kB / 0.647 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/2.047, allocations: 15.98 kB / 0.647 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/2.047, allocations: 216.6 kB / 0.6472 GB, free: 13.44 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.01828/2.065, allocations: 6.485 MB / 0.6535 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/2.066, allocations: 111 kB / 0.6536 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/2.066, allocations: 85.7 kB / 0.6537 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1066/2.172, allocations: 32.83 MB / 0.6858 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/2.172, allocations: 34.56 kB / 0.6858 GB, free: 5.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.525e-06/2.172, allocations: 0 / 0.6858 GB, free: 5.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001186/2.173, allocations: 464.7 kB / 0.6863 GB, free: 5.227 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/2.174, allocations: 55.41 kB / 0.6863 GB, free: 5.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/2.174, allocations: 224.1 kB / 0.6865 GB, free: 4.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/2.174, allocations: 33.64 kB / 0.6866 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/2.174, allocations: 149.2 kB / 0.6867 GB, free: 4.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/2.174, allocations: 178.4 kB / 0.6869 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/2.174, allocations: 53.69 kB / 0.6869 GB, free: 4.508 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/2.174, allocations: 342.8 kB / 0.6872 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/2.174, allocations: 88.41 kB / 0.6873 GB, free: 4.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/2.175, allocations: 145 kB / 0.6875 GB, free: 3.918 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/2.175, allocations: 274.1 kB / 0.6877 GB, free: 3.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/2.175, allocations: 3.938 kB / 0.6877 GB, free: 3.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004925/2.175, allocations: 335.4 kB / 0.688 GB, free: 3.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/2.176, allocations: 8 kB / 0.6881 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/2.176, allocations: 192 / 0.6881 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/2.176, allocations: 116.8 kB / 0.6882 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/2.176, allocations: 15.92 kB / 0.6882 GB, free: 3.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005271/2.176, allocations: 0.6036 MB / 0.6888 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/2.177, allocations: 35.7 kB / 0.6888 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/2.177, allocations: 14.17 kB / 0.6888 GB, free: 2.48 MB / 0.545 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.0001589/2.177, allocations: 150.5 kB / 0.689 GB, free: 2.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/2.177, allocations: 23.81 kB / 0.689 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009654/2.178, allocations: 0.803 MB / 0.6898 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005182/2.178, allocations: 385 kB / 0.6901 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/2.178, allocations: 0 / 0.6901 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/2.178, allocations: 5.125 kB / 0.6901 GB, free: 1.066 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/2.18, allocations: 1.44 MB / 0.6915 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/2.18, allocations: 8 kB / 0.6916 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/2.18, allocations: 71.84 kB / 0.6916 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001815/2.18, allocations: 96.75 kB / 0.6917 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/2.18, allocations: 14 kB / 0.6917 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004752/2.181, allocations: 0.6329 MB / 0.6923 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.181, allocations: 7.938 kB / 0.6924 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007273/2.182, allocations: 0.6536 MB / 0.693 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/2.182, allocations: 47.62 kB / 0.693 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/2.182, allocations: 23.89 kB / 0.6931 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/2.182, allocations: 13.03 kB / 0.6931 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/2.182, allocations: 43.81 kB / 0.6931 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/2.182, allocations: 20 kB / 0.6931 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003276/2.182, allocations: 291 kB / 0.6934 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/2.182, allocations: 0 / 0.6934 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00362/2.186, allocations: 1.356 MB / 0.6947 GB, free: 12.14 MB / 0.5606 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.007239/2.193, allocations: 2.733 MB / 0.6974 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008171/2.194, allocations: 462.2 kB / 0.6978 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.194, allocations: 0 / 0.6978 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002942/2.194, allocations: 189.2 kB / 0.698 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/2.196, allocations: 214.8 kB / 0.6982 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006122/2.202, allocations: 4.164 MB / 0.7023 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/2.202, allocations: 0.8439 MB / 0.7031 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001752/2.202, allocations: 41.94 kB / 0.7032 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/2.202, allocations: 163.4 kB / 0.7033 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/2.202, allocations: 0 / 0.7033 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/2.31, allocations: 60.46 MB / 0.7624 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/17.81, allocations: 7.172 kB / 0.7624 GB, free: 7.234 MB / 0.6231 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: 20.04788101400004] Failed to read output from testmodel.py, exit status != 0: 18.34973419300013 18.360413966 16.316396605 Calling exit ...