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.8146/0.8146, allocations: 153.9 MB / 172.7 MB, free: 4.957 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.000691/0.000691, allocations: 7.984 kB / 249.9 MB, free: 4.457 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1825, 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.845/2.028, allocations: 307.7 MB / 0.5771 GB, free: 16.11 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.029/2.057, allocations: 29.2 MB / 0.6056 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/2.057, allocations: 3.906 kB / 0.6056 GB, free: 2.621 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.0006155/2.057, allocations: 234.2 kB / 0.6058 GB, free: 2.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/2.058, allocations: 163.5 kB / 0.606 GB, free: 2.41 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.02698/2.085, allocations: 9.686 MB / 0.6154 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007807/2.086, allocations: 439.5 kB / 0.6158 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/2.086, allocations: 102.9 kB / 0.6159 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/2.086, allocations: 179 kB / 0.6161 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/2.086, allocations: 138.6 kB / 0.6162 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/2.086, allocations: 23.23 kB / 0.6163 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03905/2.125, allocations: 20.55 MB / 0.6363 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/2.125, allocations: 53.42 kB / 0.6364 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003087/2.126, allocations: 155.2 kB / 0.6365 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02161/2.147, allocations: 8.605 MB / 0.6449 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/2.147, allocations: 0 / 0.6449 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/2.147, allocations: 0 / 0.6449 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.668e-06/2.147, allocations: 0.625 kB / 0.6449 GB, free: 15.81 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.00475/2.152, allocations: 1.385 MB / 0.6463 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/2.152, allocations: 8.688 kB / 0.6463 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.965e-05/2.152, allocations: 76.02 kB / 0.6464 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/2.152, allocations: 40.64 kB / 0.6464 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/2.153, allocations: 174.8 kB / 0.6466 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/2.153, allocations: 24.38 kB / 0.6466 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/2.153, allocations: 16 kB / 0.6466 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/2.153, allocations: 357.1 kB / 0.647 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/2.153, allocations: 1.781 kB / 0.647 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/2.153, allocations: 11.98 kB / 0.647 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/2.153, allocations: 16.55 kB / 0.647 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/2.153, allocations: 220.6 kB / 0.6472 GB, free: 13.41 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.0185/2.172, allocations: 6.477 MB / 0.6535 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/2.172, allocations: 112.2 kB / 0.6536 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/2.172, allocations: 89.7 kB / 0.6537 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1109/2.283, allocations: 32.83 MB / 0.6858 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/2.283, allocations: 31.19 kB / 0.6858 GB, free: 5.656 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.344e-06/2.283, allocations: 0 / 0.6858 GB, free: 5.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001215/2.285, allocations: 469.7 kB / 0.6862 GB, free: 5.191 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/2.285, allocations: 51.41 kB / 0.6863 GB, free: 5.129 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/2.285, allocations: 232.1 kB / 0.6865 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/2.285, allocations: 25.7 kB / 0.6865 GB, free: 4.859 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/2.285, allocations: 153.2 kB / 0.6867 GB, free: 4.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/2.285, allocations: 174.4 kB / 0.6869 GB, free: 4.535 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/2.285, allocations: 65.56 kB / 0.6869 GB, free: 4.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001658/2.285, allocations: 336 kB / 0.6872 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/2.286, allocations: 84.47 kB / 0.6873 GB, free: 4.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/2.286, allocations: 150.7 kB / 0.6875 GB, free: 3.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/2.286, allocations: 269.3 kB / 0.6877 GB, free: 3.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.286, allocations: 0 / 0.6877 GB, free: 3.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005773/2.287, allocations: 343.6 kB / 0.688 GB, free: 3.262 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/2.287, allocations: 4.75 kB / 0.6881 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/2.287, allocations: 0 / 0.6881 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/2.287, allocations: 114.2 kB / 0.6882 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/2.287, allocations: 15.92 kB / 0.6882 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005714/2.288, allocations: 0.611 MB / 0.6888 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/2.288, allocations: 35.67 kB / 0.6888 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/2.288, allocations: 7.984 kB / 0.6888 GB, free: 2.449 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.0001674/2.288, allocations: 141.8 kB / 0.689 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/2.288, allocations: 28.38 kB / 0.689 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/2.289, allocations: 0.8064 MB / 0.6898 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005614/2.29, allocations: 389.8 kB / 0.6901 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.29, allocations: 0 / 0.6901 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/2.29, allocations: 0 / 0.6901 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/2.292, allocations: 1.445 MB / 0.6915 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/2.292, allocations: 4 kB / 0.6916 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/2.292, allocations: 72.52 kB / 0.6916 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/2.292, allocations: 96.8 kB / 0.6917 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/2.292, allocations: 16.69 kB / 0.6917 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/2.293, allocations: 0.6339 MB / 0.6923 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/2.293, allocations: 11.94 kB / 0.6924 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/2.294, allocations: 0.6451 MB / 0.693 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.431e-05/2.294, allocations: 51.62 kB / 0.693 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/2.294, allocations: 25.52 kB / 0.6931 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/2.294, allocations: 8 kB / 0.6931 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/2.294, allocations: 51.81 kB / 0.6931 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/2.294, allocations: 12 kB / 0.6931 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000349/2.294, allocations: 292.4 kB / 0.6934 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/2.294, allocations: 0 / 0.6934 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003788/2.298, allocations: 1.36 MB / 0.6947 GB, free: 12.11 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.007672/2.306, allocations: 2.735 MB / 0.6974 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007522/2.307, allocations: 455.7 kB / 0.6978 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.307, allocations: 0 / 0.6978 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/2.307, allocations: 192.2 kB / 0.698 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/2.308, allocations: 211.2 kB / 0.6982 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006463/2.314, allocations: 4.162 MB / 0.7023 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/2.315, allocations: 0.844 MB / 0.7031 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001793/2.315, allocations: 44 kB / 0.7032 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/2.315, allocations: 167.3 kB / 0.7033 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of SimCode: time 5.61e-07/2.315, allocations: 2.719 kB / 0.7033 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/2.478, allocations: 60.45 MB / 0.7624 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.87/19.34, allocations: 11.73 kB / 0.7624 GB, free: 7.211 MB / 0.6231 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSteamEngine.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSteamEngine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.713437872938812] Failed to read output from testmodel.py, exit status != 0: 19.880393263185397 19.889565252 17.739751729 Calling exit ...