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.0009577/0.0009577, 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.001091/0.001091, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9083/0.9083, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7033/0.7033, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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.323e-06/1.323e-06, allocations: 0 / 0.6181 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.649e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4131/0.4131, allocations: 119.1 MB / 0.7344 GB, free: 27.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005529/0.4187, allocations: 7.225 MB / 0.7415 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.4187, allocations: 1.281 kB / 0.7415 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.4189, allocations: 31.5 kB / 0.7415 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.4189, allocations: 20.42 kB / 0.7415 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.4219, allocations: 1.466 MB / 0.743 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.4221, allocations: 76.33 kB / 0.743 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.4221, allocations: 8.938 kB / 0.743 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4222, allocations: 49.14 kB / 0.7431 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.4223, allocations: 28.91 kB / 0.7431 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.4223, allocations: 1.594 kB / 0.7431 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.4258, allocations: 2.619 MB / 0.7457 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.4258, allocations: 22.03 kB / 0.7457 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.4258, allocations: 25.16 kB / 0.7457 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.4282, allocations: 1.796 MB / 0.7475 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4282, allocations: 0 / 0.7475 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4282, allocations: 1.375 kB / 0.7475 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.4282, allocations: 0 / 0.7475 GB, free: 20.66 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.0007643/0.4289, allocations: 436.5 kB / 0.7479 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.429, allocations: 9.625 kB / 0.7479 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.959e-05/0.429, allocations: 39.42 kB / 0.7479 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.4292, allocations: 28.36 kB / 0.748 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.655e-05/0.4293, allocations: 109.2 kB / 0.7481 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.4293, allocations: 61.27 kB / 0.7481 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.4293, allocations: 4.5 kB / 0.7481 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.4296, allocations: 154.8 kB / 0.7483 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4296, allocations: 5.359 kB / 0.7483 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.4296, allocations: 0 / 0.7483 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4296, allocations: 2.75 kB / 0.7483 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.4298, allocations: 117.9 kB / 0.7484 GB, free: 19.95 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.0003804/0.4301, allocations: 299 kB / 0.7487 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.4304, allocations: 123 kB / 0.7488 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.4304, allocations: 44.02 kB / 0.7488 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006681/0.4371, allocations: 3.04 MB / 0.7518 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4371, allocations: 33.66 kB / 0.7518 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.4371, allocations: 0 / 0.7518 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004091/0.4375, allocations: 169.5 kB / 0.752 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4376, allocations: 53.72 kB / 0.7521 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.4376, allocations: 102.1 kB / 0.7522 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.4376, allocations: 29.7 kB / 0.7522 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.4376, allocations: 86.33 kB / 0.7523 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.4377, allocations: 47.55 kB / 0.7523 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.4377, allocations: 28.67 kB / 0.7523 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.4378, allocations: 319.1 kB / 0.7526 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.648e-05/0.4378, allocations: 24.89 kB / 0.7527 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.035e-05/0.4378, allocations: 26.59 kB / 0.7527 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.347e-05/0.4379, allocations: 67.19 kB / 0.7528 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4379, allocations: 5.406 kB / 0.7528 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001312/0.438, allocations: 106.2 kB / 0.7529 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4381, allocations: 4.375 kB / 0.7529 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4381, allocations: 5.219 kB / 0.7529 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4381, allocations: 2.016 kB / 0.7529 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.891e-05/0.4382, allocations: 23.27 kB / 0.7529 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4382, allocations: 2.266 kB / 0.7529 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.4382, allocations: 9.016 kB / 0.7529 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4382, allocations: 3.391 kB / 0.7529 GB, free: 18.37 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 5.374e-05/0.4383, allocations: 123.5 kB / 0.753 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.4383, allocations: 11.33 kB / 0.753 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.4387, allocations: 387.3 kB / 0.7534 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4387, allocations: 8.828 kB / 0.7534 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4387, allocations: 0.6562 kB / 0.7534 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4387, allocations: 4.5 kB / 0.7534 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.4389, allocations: 256.4 kB / 0.7537 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4389, allocations: 0 / 0.7537 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.439, allocations: 24.02 kB / 0.7537 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.439, allocations: 1.484 kB / 0.7537 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.439, allocations: 2.562 kB / 0.7537 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.439, allocations: 0.6562 kB / 0.7537 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.439, allocations: 1.094 kB / 0.7537 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.4392, allocations: 342.3 kB / 0.754 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.4393, allocations: 28.56 kB / 0.754 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.4393, allocations: 5.891 kB / 0.7541 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.034e-05/0.4394, allocations: 5.359 kB / 0.7541 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.4394, allocations: 12.73 kB / 0.7541 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.4394, allocations: 5.453 kB / 0.7541 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.401e-05/0.4394, allocations: 84.75 kB / 0.7542 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4394, allocations: 0 / 0.7542 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001305/0.4407, allocations: 304 kB / 0.7544 GB, free: 17.46 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.001444/0.4422, allocations: 1.212 MB / 0.7556 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4424, allocations: 122.5 kB / 0.7557 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4424, allocations: 5.219 kB / 0.7558 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.4425, allocations: 92.84 kB / 0.7558 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.4427, allocations: 14.78 kB / 0.7559 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006948/0.4434, allocations: 433 kB / 0.7563 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.639e-05/0.4434, allocations: 111.6 kB / 0.7564 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.143e-05/0.4435, allocations: 28.38 kB / 0.7564 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.4436, allocations: 39.3 kB / 0.7564 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of SimCode: time 8.71e-07/0.4436, allocations: 0 / 0.7564 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.4756, allocations: 12.43 MB / 0.7686 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.535/8.011, allocations: 5.656 kB / 0.7686 GB, free: 13.36 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.896869171410799] Failed to read output from testmodel.py, exit status != 0: 8.09806527197361 8.110485484 7.680017466 Calling exit ...