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.789/0.789, allocations: 153.8 MB / 172.7 MB, free: 4.867 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.0004953/0.0004953, allocations: 7.984 kB / 249.8 MB, free: 4.367 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 33.35 MB / 283.1 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.758/1.922, allocations: 307.7 MB / 0.577 GB, free: 17.46 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02654/1.949, allocations: 25.91 MB / 0.6023 GB, free: 6.258 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/1.949, allocations: 3.375 kB / 0.6023 GB, free: 6.258 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.0005362/1.949, allocations: 176.5 kB / 0.6025 GB, free: 6.195 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/1.95, allocations: 159.5 kB / 0.6027 GB, free: 6.094 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.02363/1.973, allocations: 9.55 MB / 0.612 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006048/1.974, allocations: 434.7 kB / 0.6124 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/1.974, allocations: 93.75 kB / 0.6125 GB, free: 456 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/1.974, allocations: 189.3 kB / 0.6127 GB, free: 340 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/1.974, allocations: 128.9 kB / 0.6128 GB, free: 264 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/1.974, allocations: 17.94 kB / 0.6128 GB, free: 264 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03335/2.008, allocations: 19.25 MB / 0.6316 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/2.008, allocations: 51.8 kB / 0.6317 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002494/2.008, allocations: 123.3 kB / 0.6318 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01883/2.027, allocations: 8.606 MB / 0.6402 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/2.027, allocations: 0 / 0.6402 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/2.027, allocations: 2.125 kB / 0.6402 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.436e-06/2.027, allocations: 0.6562 kB / 0.6402 GB, free: 4.625 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.00444/2.031, allocations: 1.378 MB / 0.6415 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/2.031, allocations: 8.75 kB / 0.6415 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.337e-05/2.031, allocations: 70.72 kB / 0.6416 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/2.032, allocations: 38.52 kB / 0.6416 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/2.032, allocations: 188 kB / 0.6418 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/2.032, allocations: 20.38 kB / 0.6418 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/2.032, allocations: 20.66 kB / 0.6419 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/2.032, allocations: 353.1 kB / 0.6422 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/2.032, allocations: 0.9688 kB / 0.6422 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/2.032, allocations: 8 kB / 0.6422 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/2.032, allocations: 23.97 kB / 0.6422 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/2.033, allocations: 218.1 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.0187/2.051, allocations: 6.108 MB / 0.6484 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/2.052, allocations: 117.1 kB / 0.6485 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/2.052, allocations: 81.72 kB / 0.6486 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1124/2.164, allocations: 32.96 MB / 0.6808 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/2.164, allocations: 43.28 kB / 0.6808 GB, free: 10.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=52): time 2.235e-06/2.164, allocations: 0 / 0.6808 GB, free: 10.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.001115/2.165, allocations: 444.7 kB / 0.6812 GB, free: 10.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/2.165, allocations: 59.34 kB / 0.6813 GB, free: 10.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/2.166, allocations: 232.1 kB / 0.6815 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/2.166, allocations: 29.7 kB / 0.6816 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/2.166, allocations: 149.1 kB / 0.6817 GB, free: 9.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/2.166, allocations: 182.4 kB / 0.6819 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/2.166, allocations: 53.69 kB / 0.6819 GB, free: 9.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001612/2.166, allocations: 342.8 kB / 0.6822 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/2.166, allocations: 84.47 kB / 0.6823 GB, free: 9.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/2.166, allocations: 147.1 kB / 0.6825 GB, free: 9.043 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/2.167, allocations: 278 kB / 0.6827 GB, free: 8.754 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/2.167, allocations: 0 / 0.6827 GB, free: 8.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005246/2.167, allocations: 341.7 kB / 0.6831 GB, free: 8.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/2.167, allocations: 12.03 kB / 0.6831 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/2.167, allocations: 0 / 0.6831 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003118/2.168, allocations: 109.4 kB / 0.6832 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/2.168, allocations: 8 kB / 0.6832 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000537/2.168, allocations: 0.6154 MB / 0.6838 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/2.168, allocations: 35.62 kB / 0.6838 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/2.168, allocations: 8.938 kB / 0.6838 GB, free: 7.602 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.0001547/2.169, allocations: 149.9 kB / 0.684 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/2.169, allocations: 27.81 kB / 0.684 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009575/2.17, allocations: 0.8055 MB / 0.6848 GB, free: 6.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005203/2.17, allocations: 383.2 kB / 0.6851 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/2.17, allocations: 3.984 kB / 0.6852 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/2.17, allocations: 4 kB / 0.6852 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/2.172, allocations: 1.385 MB / 0.6865 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/2.172, allocations: 9.125 kB / 0.6865 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/2.172, allocations: 68.56 kB / 0.6866 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/2.172, allocations: 84.81 kB / 0.6867 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/2.172, allocations: 16 kB / 0.6867 GB, free: 4.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004623/2.173, allocations: 0.6387 MB / 0.6873 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.173, allocations: 7.938 kB / 0.6873 GB, free: 3.828 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/2.174, allocations: 0.6449 MB / 0.6879 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/2.174, allocations: 51.62 kB / 0.688 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/2.174, allocations: 22.27 kB / 0.688 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/2.174, allocations: 19.94 kB / 0.688 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/2.174, allocations: 43.81 kB / 0.6881 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/2.174, allocations: 16 kB / 0.6881 GB, free: 2.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003061/2.174, allocations: 291 kB / 0.6884 GB, free: 2.672 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/2.174, allocations: 0 / 0.6884 GB, free: 2.672 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003466/2.178, allocations: 1.356 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.006398/2.184, allocations: 2.733 MB / 0.6924 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007548/2.185, allocations: 462.8 kB / 0.6928 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/2.185, allocations: 0 / 0.6928 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002795/2.185, allocations: 185.2 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.001155/2.186, allocations: 215.7 kB / 0.6932 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005775/2.192, allocations: 4.165 MB / 0.6972 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/2.192, allocations: 238.7 kB / 0.6975 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000174/2.192, allocations: 42.08 kB / 0.6975 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/2.193, allocations: 167.4 kB / 0.6977 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of SimCode: time 6.61e-07/2.193, allocations: 0 / 0.6977 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/2.302, allocations: 60.8 MB / 0.7571 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/18.14, allocations: 6.125 kB / 0.7571 GB, free: 12.75 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 & /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: 20.19983378984034] Failed to read output from testmodel.py, exit status != 0: 18.679145438596606 18.689871889 16.66051535 Calling exit ...