Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00089/0.00089, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9046/0.9046, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7109/0.7109, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.156e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4243/0.4243, allocations: 119.2 MB / 0.7344 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005808/0.4301, allocations: 7.235 MB / 0.7415 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.4302, allocations: 1.094 kB / 0.7415 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.4304, allocations: 15.11 kB / 0.7415 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.4304, allocations: 21.69 kB / 0.7415 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.4333, allocations: 1.467 MB / 0.743 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.4334, allocations: 76.28 kB / 0.743 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.4334, allocations: 7.703 kB / 0.743 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.4335, allocations: 54.41 kB / 0.7431 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.4336, allocations: 27.31 kB / 0.7431 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4336, allocations: 3.031 kB / 0.7431 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.4375, allocations: 2.618 MB / 0.7457 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.4375, allocations: 19.12 kB / 0.7457 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.4375, allocations: 20.27 kB / 0.7457 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.44, allocations: 1.8 MB / 0.7475 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.44, allocations: 4 kB / 0.7475 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.44, allocations: 1.375 kB / 0.7475 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.44, allocations: 0 / 0.7475 GB, free: 20.61 MB / 0.6355 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.0006591/0.4407, allocations: 437.5 kB / 0.7479 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4407, allocations: 9.625 kB / 0.7479 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.351e-05/0.4407, allocations: 42.23 kB / 0.7479 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.4409, allocations: 24.45 kB / 0.748 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.813e-05/0.4409, allocations: 105.5 kB / 0.7481 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.441, allocations: 60.8 kB / 0.7481 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.441, allocations: 9.109 kB / 0.7481 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4412, allocations: 155.8 kB / 0.7483 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.4412, allocations: 0 / 0.7483 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.4412, allocations: 0 / 0.7483 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4412, allocations: 2.75 kB / 0.7483 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.4414, allocations: 122.6 kB / 0.7484 GB, free: 19.9 MB / 0.6355 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.0003189/0.4417, allocations: 297.2 kB / 0.7487 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4419, allocations: 113 kB / 0.7488 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.442, allocations: 42.23 kB / 0.7488 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006149/0.4481, allocations: 3.046 MB / 0.7518 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.4481, allocations: 40.77 kB / 0.7519 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.4481, allocations: 0 / 0.7519 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0003216/0.4485, allocations: 168.9 kB / 0.752 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.4485, allocations: 53.75 kB / 0.7521 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.515e-05/0.4485, allocations: 108.7 kB / 0.7522 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.4485, allocations: 27.08 kB / 0.7522 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.4485, allocations: 85.83 kB / 0.7523 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.4486, allocations: 44.42 kB / 0.7523 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.4486, allocations: 32.61 kB / 0.7523 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.802e-05/0.4486, allocations: 318.8 kB / 0.7527 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.4487, allocations: 25.36 kB / 0.7527 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.4487, allocations: 29.67 kB / 0.7527 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.314e-05/0.4488, allocations: 73.42 kB / 0.7528 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4488, allocations: 0 / 0.7528 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001077/0.4489, allocations: 99.03 kB / 0.7529 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4489, allocations: 5.859 kB / 0.7529 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4489, allocations: 0 / 0.7529 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.4489, allocations: 1.281 kB / 0.7529 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.513e-05/0.449, allocations: 28 kB / 0.7529 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.449, allocations: 5.375 kB / 0.7529 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.449, allocations: 9.766 kB / 0.7529 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.449, allocations: 7.703 kB / 0.7529 GB, free: 18.31 MB / 0.6355 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 4.104e-05/0.449, allocations: 119.3 kB / 0.753 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.4491, allocations: 11.05 kB / 0.7531 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.4494, allocations: 379.5 kB / 0.7534 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.4494, allocations: 4.25 kB / 0.7534 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4494, allocations: 5.766 kB / 0.7534 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4494, allocations: 0.6562 kB / 0.7534 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.4496, allocations: 256.3 kB / 0.7537 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4496, allocations: 4.797 kB / 0.7537 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.4496, allocations: 20.02 kB / 0.7537 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4496, allocations: 1.062 kB / 0.7537 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.4496, allocations: 5.844 kB / 0.7537 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4497, allocations: 1.672 kB / 0.7537 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4497, allocations: 1.094 kB / 0.7537 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.4499, allocations: 342.1 kB / 0.754 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.4499, allocations: 28.8 kB / 0.7541 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.4499, allocations: 1.875 kB / 0.7541 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.45, allocations: 8.75 kB / 0.7541 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.45, allocations: 13.39 kB / 0.7541 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.45, allocations: 9.047 kB / 0.7541 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.372e-05/0.45, allocations: 84.42 kB / 0.7542 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.45, allocations: 0 / 0.7542 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007511/0.4508, allocations: 299.8 kB / 0.7545 GB, free: 17.41 MB / 0.6355 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.001239/0.452, allocations: 1.212 MB / 0.7556 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.4522, allocations: 119.7 kB / 0.7557 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4522, allocations: 0 / 0.7557 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/0.4523, allocations: 99.08 kB / 0.7558 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.4525, allocations: 18.14 kB / 0.7559 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006303/0.4531, allocations: 437.4 kB / 0.7563 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.583e-05/0.4532, allocations: 112.7 kB / 0.7564 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.963e-05/0.4532, allocations: 32.39 kB / 0.7564 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.4533, allocations: 39.81 kB / 0.7565 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.4533, allocations: 1.156 kB / 0.7565 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.4815, allocations: 12.42 MB / 0.7686 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.603, allocations: 6.312 kB / 0.7686 GB, free: 13.39 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.32323374133557] Failed to read output from testmodel.py, exit status != 0: 7.686336303129792 7.695554746 7.253314667 Calling exit ...