Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 102.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00237/0.00237, allocations: 278.5 kB / 303 MB, free: 3.547 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.085/1.085, allocations: 180.9 MB / 0.5262 GB, free: 2.777 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003793/0.003793, allocations: 99.84 kB / 0.7247 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.5852, allocations: 94.15 MB / 0.8167 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1776/0.7628, allocations: 136 MB / 0.9495 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.7731, allocations: 7.951 MB / 0.9572 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.7732, allocations: 4 kB / 0.9572 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.7734, allocations: 23.83 kB / 0.9572 GB, free: 0.7578 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.7734, allocations: 19.86 kB / 0.9573 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/0.7775, allocations: 1.462 MB / 0.9587 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.7776, allocations: 67.72 kB / 0.9588 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.7777, allocations: 4 kB / 0.9588 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.7778, allocations: 55.77 kB / 0.9588 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.7779, allocations: 31.89 kB / 0.9588 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.7779, allocations: 4 kB / 0.9589 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.7828, allocations: 2.711 MB / 0.9615 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.7829, allocations: 11.92 kB / 0.9615 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.7829, allocations: 39.84 kB / 0.9615 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.7853, allocations: 1.372 MB / 0.9629 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7853, allocations: 0 / 0.9629 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7853, allocations: 0 / 0.9629 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.7853, allocations: 4 kB / 0.9629 GB, free: 10.98 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001076/0.7863, allocations: 0.4984 MB / 0.9634 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7864, allocations: 8.031 kB / 0.9634 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.7864, allocations: 46.67 kB / 0.9634 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.7868, allocations: 20.88 kB / 0.9635 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.787, allocations: 168.4 kB / 0.9636 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-05/0.7871, allocations: 37.95 kB / 0.9636 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.7871, allocations: 8 kB / 0.9637 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.7875, allocations: 117.6 kB / 0.9638 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7875, allocations: 0 / 0.9638 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.7875, allocations: 7.984 kB / 0.9638 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.7875, allocations: 0 / 0.9638 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.7878, allocations: 123.8 kB / 0.9639 GB, free: 9.844 MB / 0.7012 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.0006186/0.7884, allocations: 380 kB / 0.9643 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.7887, allocations: 114.6 kB / 0.9644 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.7888, allocations: 48.84 kB / 0.9644 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01245/0.8013, allocations: 4.23 MB / 0.9685 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.8013, allocations: 38.5 kB / 0.9686 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=13): time 2.996e-06/0.8013, allocations: 0 / 0.9686 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13): time 0.0005941/0.8019, allocations: 161.6 kB / 0.9687 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.8021, allocations: 55.41 kB / 0.9688 GB, free: 4.414 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.8022, allocations: 105.8 kB / 0.9689 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.8022, allocations: 29.7 kB / 0.9689 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.8023, allocations: 84.14 kB / 0.969 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.8023, allocations: 43.64 kB / 0.969 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.8024, allocations: 25.72 kB / 0.9691 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8025, allocations: 318.8 kB / 0.9694 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.8026, allocations: 23.98 kB / 0.9694 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.476e-05/0.8027, allocations: 34.8 kB / 0.9694 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.8028, allocations: 64.84 kB / 0.9695 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8028, allocations: 0 / 0.9695 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001944/0.803, allocations: 117.6 kB / 0.9696 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.803, allocations: 4 kB / 0.9696 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.803, allocations: 0 / 0.9696 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.803, allocations: 0 / 0.9696 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.8032, allocations: 23.92 kB / 0.9696 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/0.8032, allocations: 11.92 kB / 0.9696 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.8033, allocations: 15.83 kB / 0.9696 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.8033, allocations: 4 kB / 0.9697 GB, free: 3.484 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.121e-05/0.8034, allocations: 109.8 kB / 0.9698 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/0.8034, allocations: 15.94 kB / 0.9698 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.8039, allocations: 372 kB / 0.9701 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.8039, allocations: 11.98 kB / 0.9701 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8039, allocations: 0 / 0.9701 GB, free: 2.965 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8039, allocations: 3.938 kB / 0.9701 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.8042, allocations: 277.4 kB / 0.9704 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8042, allocations: 0 / 0.9704 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/0.8043, allocations: 23.98 kB / 0.9704 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.8043, allocations: 0 / 0.9704 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.8043, allocations: 4 kB / 0.9704 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.8043, allocations: 4 kB / 0.9704 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8043, allocations: 0 / 0.9704 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.8047, allocations: 337.4 kB / 0.9708 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.278e-05/0.8048, allocations: 104.9 kB / 0.9709 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.8049, allocations: 4 kB / 0.9709 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.805, allocations: 7.984 kB / 0.9709 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.805, allocations: 11.92 kB / 0.9709 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.805, allocations: 12 kB / 0.9709 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.774e-05/0.8051, allocations: 83.27 kB / 0.971 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8051, allocations: 0 / 0.971 GB, free: 2.027 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001053/0.8061, allocations: 299.7 kB / 0.9713 GB, free: 1.734 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001799/0.8079, allocations: 1.149 MB / 0.9724 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.8082, allocations: 122.9 kB / 0.9725 GB, free: 448 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8082, allocations: 4 kB / 0.9725 GB, free: 444 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.8083, allocations: 87.91 kB / 0.9726 GB, free: 356 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.8086, allocations: 23.92 kB / 0.9726 GB, free: 332 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/0.8096, allocations: 421.8 kB / 0.973 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.81, allocations: 0.7205 MB / 0.9737 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.8102, allocations: 32.28 kB / 0.9737 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.312e-05/0.8102, allocations: 39.42 kB / 0.9738 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.8102, allocations: 0 / 0.9738 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.8505, allocations: 11.66 MB / 0.9852 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/9.323, allocations: 2.219 kB / 0.9852 GB, free: 3.512 MB / 0.7169 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.31429607514292] Failed to read output from testmodel.py, exit status != 0: 9.400361614767462 9.424904667 8.635252059 Calling exit ...