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.8084/0.8084, allocations: 153.8 MB / 172.7 MB, free: 4.887 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.0004928/0.0004928, allocations: 11.97 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1729, allocations: 33.36 MB / 283.2 MB, free: 1.727 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.857/2.03, allocations: 307.7 MB / 0.577 GB, free: 17.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04999/2.08, allocations: 25.91 MB / 0.6023 GB, free: 5.996 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/2.081, allocations: 2.312 kB / 0.6023 GB, free: 5.996 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.0008019/2.081, allocations: 175.4 kB / 0.6025 GB, free: 5.934 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/2.082, allocations: 164.3 kB / 0.6027 GB, free: 5.828 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.02875/2.111, allocations: 9.548 MB / 0.612 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006844/2.111, allocations: 439.1 kB / 0.6124 GB, free: 336 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/2.111, allocations: 90.95 kB / 0.6125 GB, free: 280 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/2.112, allocations: 190 kB / 0.6127 GB, free: 160 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/2.112, allocations: 127.7 kB / 0.6128 GB, free: 88 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.075e-05/2.112, allocations: 19.78 kB / 0.6128 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03688/2.149, allocations: 19.25 MB / 0.6316 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/2.149, allocations: 51.8 kB / 0.6317 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00027/2.149, allocations: 127.3 kB / 0.6318 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/2.169, allocations: 8.598 MB / 0.6402 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/2.169, allocations: 12 kB / 0.6402 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.973e-06/2.169, allocations: 0 / 0.6402 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.895e-06/2.169, allocations: 1.688 kB / 0.6402 GB, free: 4.629 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.004189/2.173, allocations: 1.374 MB / 0.6415 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/2.173, allocations: 12.03 kB / 0.6415 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/2.173, allocations: 70.66 kB / 0.6416 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/2.173, allocations: 40.69 kB / 0.6417 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/2.173, allocations: 180.6 kB / 0.6418 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/2.173, allocations: 22.2 kB / 0.6418 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/2.174, allocations: 24 kB / 0.6419 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/2.174, allocations: 353.1 kB / 0.6422 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/2.174, allocations: 4 kB / 0.6422 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/2.174, allocations: 4 kB / 0.6422 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/2.174, allocations: 27.91 kB / 0.6422 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/2.174, allocations: 216.6 kB / 0.6424 GB, free: 2.227 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.01883/2.193, allocations: 6.102 MB / 0.6484 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/2.193, allocations: 116 kB / 0.6485 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/2.194, allocations: 77.72 kB / 0.6486 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1133/2.307, allocations: 32.97 MB / 0.6808 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/2.307, allocations: 35.31 kB / 0.6808 GB, free: 10.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.534e-06/2.307, allocations: 0 / 0.6808 GB, free: 10.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.00114/2.308, allocations: 448.6 kB / 0.6813 GB, free: 10.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/2.308, allocations: 55.41 kB / 0.6813 GB, free: 10.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/2.308, allocations: 236.1 kB / 0.6815 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/2.308, allocations: 25.7 kB / 0.6816 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/2.309, allocations: 149.1 kB / 0.6817 GB, free: 9.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/2.309, allocations: 175.2 kB / 0.6819 GB, free: 9.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.504e-05/2.309, allocations: 57.69 kB / 0.6819 GB, free: 9.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001731/2.309, allocations: 342.8 kB / 0.6822 GB, free: 9.289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/2.309, allocations: 84.47 kB / 0.6823 GB, free: 9.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/2.309, allocations: 145 kB / 0.6825 GB, free: 9.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/2.31, allocations: 275.5 kB / 0.6827 GB, free: 8.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.31, allocations: 0 / 0.6827 GB, free: 8.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000535/2.31, allocations: 342.5 kB / 0.6831 GB, free: 8.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/2.31, allocations: 8 kB / 0.6831 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/2.31, allocations: 4.188 kB / 0.6831 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/2.31, allocations: 110 kB / 0.6832 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/2.31, allocations: 8 kB / 0.6832 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005539/2.311, allocations: 0.6178 MB / 0.6838 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/2.311, allocations: 36.38 kB / 0.6838 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/2.311, allocations: 9.953 kB / 0.6838 GB, free: 7.605 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.000159/2.311, allocations: 149.8 kB / 0.684 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/2.311, allocations: 27.88 kB / 0.684 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/2.312, allocations: 0.8056 MB / 0.6848 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005347/2.313, allocations: 387.2 kB / 0.6852 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/2.313, allocations: 3.984 kB / 0.6852 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/2.313, allocations: 1.594 kB / 0.6852 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/2.315, allocations: 1.385 MB / 0.6865 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/2.315, allocations: 8.656 kB / 0.6865 GB, free: 4.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/2.315, allocations: 67.91 kB / 0.6866 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000175/2.315, allocations: 88.81 kB / 0.6867 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/2.315, allocations: 12 kB / 0.6867 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005025/2.316, allocations: 0.6381 MB / 0.6873 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/2.316, allocations: 12.61 kB / 0.6873 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/2.316, allocations: 0.6432 MB / 0.6879 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/2.317, allocations: 51.62 kB / 0.688 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/2.317, allocations: 23.89 kB / 0.688 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/2.317, allocations: 12 kB / 0.688 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/2.317, allocations: 44.38 kB / 0.6881 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/2.317, allocations: 20.75 kB / 0.6881 GB, free: 2.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003196/2.317, allocations: 287 kB / 0.6884 GB, free: 2.676 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.317, allocations: 0 / 0.6884 GB, free: 2.676 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003443/2.321, allocations: 1.36 MB / 0.6897 GB, free: 1.312 MB / 0.545 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.006508/2.327, allocations: 2.721 MB / 0.6923 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007314/2.328, allocations: 464.1 kB / 0.6928 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.328, allocations: 0 / 0.6928 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002933/2.328, allocations: 193 kB / 0.693 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/2.329, allocations: 212.1 kB / 0.6932 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/2.335, allocations: 4.172 MB / 0.6973 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/2.336, allocations: 233.5 kB / 0.6975 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001595/2.336, allocations: 44.17 kB / 0.6975 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/2.336, allocations: 163.4 kB / 0.6977 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/2.336, allocations: 4 kB / 0.6977 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1118/2.448, allocations: 60.79 MB / 0.757 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/18.22, allocations: 18.08 kB / 0.7571 GB, free: 12.74 MB / 0.6231 GB " [Timeout remaining time 641] (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.429179973900318] Failed to read output from testmodel.py, exit status != 0: 18.781814242713153 18.802209689 16.629318959 Calling exit ...