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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 187.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7761/0.7761, allocations: 132.2 MB / 422.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 56.62 kB / 0.5013 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4077, allocations: 80.21 MB / 0.5797 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1418/0.5495, allocations: 133.7 MB / 0.7102 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009985/0.5595, allocations: 7.975 MB / 0.718 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.5596, allocations: 0 / 0.718 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.5598, allocations: 27.88 kB / 0.718 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.979e-05/0.5599, allocations: 15.91 kB / 0.718 GB, free: 3.535 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/0.5633, allocations: 1.296 MB / 0.7193 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.5634, allocations: 71.66 kB / 0.7194 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.5634, allocations: 11.88 kB / 0.7194 GB, free: 2.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.5636, allocations: 51.78 kB / 0.7194 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.5636, allocations: 31.89 kB / 0.7195 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.5637, allocations: 4 kB / 0.7195 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003873/0.5675, allocations: 2.645 MB / 0.722 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.5676, allocations: 19.91 kB / 0.7221 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.5676, allocations: 27.86 kB / 0.7221 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.5697, allocations: 1.388 MB / 0.7234 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5697, allocations: 0 / 0.7234 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5697, allocations: 0 / 0.7234 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.5697, allocations: 0 / 0.7234 GB, free: 13.99 MB / 0.5606 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.001051/0.5708, allocations: 499.1 kB / 0.7239 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.5708, allocations: 12.03 kB / 0.7239 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.5708, allocations: 38.73 kB / 0.724 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.5712, allocations: 24.83 kB / 0.724 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.5713, allocations: 168.3 kB / 0.7242 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.5714, allocations: 42 kB / 0.7242 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.5714, allocations: 4 kB / 0.7242 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.5718, allocations: 121.5 kB / 0.7243 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.5718, allocations: 0 / 0.7243 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5718, allocations: 0 / 0.7243 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.5718, allocations: 4 kB / 0.7243 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.5721, allocations: 119.9 kB / 0.7244 GB, free: 12.88 MB / 0.5606 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.0004551/0.5726, allocations: 380 kB / 0.7248 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.5728, allocations: 130.5 kB / 0.7249 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.5729, allocations: 52.84 kB / 0.725 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01043/0.5834, allocations: 4.199 MB / 0.7291 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.5834, allocations: 38.56 kB / 0.7291 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.5834, allocations: 0 / 0.7291 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004771/0.5839, allocations: 161.5 kB / 0.7293 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.5839, allocations: 55.41 kB / 0.7293 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.584, allocations: 101.8 kB / 0.7294 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.584, allocations: 33.64 kB / 0.7294 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.5841, allocations: 88.14 kB / 0.7295 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.5841, allocations: 47.42 kB / 0.7296 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.5842, allocations: 29.7 kB / 0.7296 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.5843, allocations: 314.8 kB / 0.7299 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.5844, allocations: 27.98 kB / 0.7299 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.5844, allocations: 27.11 kB / 0.73 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.5845, allocations: 68.84 kB / 0.73 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5845, allocations: 0 / 0.73 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001796/0.5847, allocations: 105.9 kB / 0.7301 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5847, allocations: 11.94 kB / 0.7301 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5847, allocations: 0 / 0.7301 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5848, allocations: 0 / 0.7301 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5849, allocations: 31.91 kB / 0.7302 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5849, allocations: 0 / 0.7302 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.373e-05/0.585, allocations: 11.84 kB / 0.7302 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.585, allocations: 4 kB / 0.7302 GB, free: 6.531 MB / 0.5606 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.177e-05/0.5851, allocations: 113.8 kB / 0.7303 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.5851, allocations: 7.984 kB / 0.7303 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000452/0.5856, allocations: 380.2 kB / 0.7307 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.5856, allocations: 7.984 kB / 0.7307 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5856, allocations: 0 / 0.7307 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5856, allocations: 3.938 kB / 0.7307 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.5859, allocations: 277.4 kB / 0.7309 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5859, allocations: 8 kB / 0.7309 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.586, allocations: 27.98 kB / 0.731 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.586, allocations: 0 / 0.731 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.5861, allocations: 3.984 kB / 0.731 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.5861, allocations: 4 kB / 0.731 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5861, allocations: 0 / 0.731 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.5864, allocations: 334.9 kB / 0.7313 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.5865, allocations: 100.8 kB / 0.7314 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.5865, allocations: 12 kB / 0.7314 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.5867, allocations: 0 / 0.7314 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.5867, allocations: 19.92 kB / 0.7314 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.5867, allocations: 4 kB / 0.7314 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.8e-05/0.5868, allocations: 79.27 kB / 0.7315 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.5868, allocations: 0 / 0.7315 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007937/0.5876, allocations: 303.9 kB / 0.7318 GB, free: 4.781 MB / 0.5606 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.001802/0.5894, allocations: 1.142 MB / 0.7329 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.5897, allocations: 131.9 kB / 0.733 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5897, allocations: 3.938 kB / 0.733 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.5898, allocations: 111.9 kB / 0.7331 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.5901, allocations: 23.16 kB / 0.7332 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008386/0.5909, allocations: 497.9 kB / 0.7336 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.5912, allocations: 0.7166 MB / 0.7343 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.962e-05/0.5913, allocations: 31.59 kB / 0.7344 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.5914, allocations: 39.42 kB / 0.7344 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5914, allocations: 0 / 0.7344 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4072/0.9986, allocations: 11.52 MB / 0.7457 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/0.9988, allocations: 194.9 kB / 0.7458 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/3.274, allocations: 4 kB / 0.7458 GB, free: 6.367 MB / 0.5762 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)