Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9632/0.9632, allocations: 135.1 MB / 425.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 63.69 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1637, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4887/0.6525, allocations: 135.6 MB / 0.7169 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.6649, allocations: 7.909 MB / 0.7246 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.665, allocations: 0 / 0.7246 GB, free: 5.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.6652, allocations: 28.16 kB / 0.7246 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.508e-05/0.6653, allocations: 16.48 kB / 0.7246 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005546/0.6709, allocations: 1.471 MB / 0.7261 GB, free: 4.668 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000165/0.671, allocations: 80.47 kB / 0.7261 GB, free: 4.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.6711, allocations: 11.03 kB / 0.7262 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.6712, allocations: 43.81 kB / 0.7262 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.6714, allocations: 27.86 kB / 0.7262 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.6714, allocations: 2.875 kB / 0.7262 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006744/0.6781, allocations: 2.651 MB / 0.7288 GB, free: 3.836 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6783, allocations: 15.02 kB / 0.7288 GB, free: 3.824 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.6784, allocations: 33.47 kB / 0.7289 GB, free: 3.805 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003982/0.6824, allocations: 1.372 MB / 0.7302 GB, free: 2.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.6824, allocations: 0 / 0.7302 GB, free: 2.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6824, allocations: 0 / 0.7302 GB, free: 2.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.6824, allocations: 5.531 kB / 0.7302 GB, free: 2.93 MB / 0.545 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.001601/0.684, allocations: 0.4942 MB / 0.7307 GB, free: 2.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6841, allocations: 10.34 kB / 0.7307 GB, free: 2.484 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.568e-05/0.6841, allocations: 40.89 kB / 0.7307 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004411/0.6846, allocations: 22.98 kB / 0.7308 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.6848, allocations: 171.3 kB / 0.7309 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.937e-05/0.6849, allocations: 29.92 kB / 0.7309 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.6849, allocations: 18.98 kB / 0.731 GB, free: 2.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004294/0.6854, allocations: 116.4 kB / 0.7311 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.6854, allocations: 0 / 0.7311 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.6854, allocations: 5.031 kB / 0.7311 GB, free: 2.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.6854, allocations: 6.219 kB / 0.7311 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.6858, allocations: 113 kB / 0.7312 GB, free: 2.043 MB / 0.545 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.0006073/0.6864, allocations: 380.9 kB / 0.7316 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.6867, allocations: 131 kB / 0.7317 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.6868, allocations: 50.69 kB / 0.7317 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.7002, allocations: 4.202 MB / 0.7358 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.7003, allocations: 35.94 kB / 0.7359 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.585e-06/0.7003, allocations: 0 / 0.7359 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0006626/0.7009, allocations: 165 kB / 0.736 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.701, allocations: 56.72 kB / 0.7361 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/0.7011, allocations: 102 kB / 0.7362 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.7011, allocations: 27.14 kB / 0.7362 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.7012, allocations: 85.45 kB / 0.7363 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.7012, allocations: 44.66 kB / 0.7363 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.7013, allocations: 34.23 kB / 0.7364 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7014, allocations: 317.3 kB / 0.7367 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.7015, allocations: 24.55 kB / 0.7367 GB, free: 14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.7016, allocations: 26.73 kB / 0.7367 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.7017, allocations: 66.72 kB / 0.7368 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7017, allocations: 0 / 0.7368 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002087/0.7019, allocations: 110.2 kB / 0.7369 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.702, allocations: 11.62 kB / 0.7369 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.702, allocations: 1.781 kB / 0.7369 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.702, allocations: 5.375 kB / 0.7369 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.7021, allocations: 25.23 kB / 0.7369 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.7022, allocations: 1.375 kB / 0.7369 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.7022, allocations: 9.219 kB / 0.7369 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.7022, allocations: 7.547 kB / 0.7369 GB, free: 13.86 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 0.0001129/0.7024, allocations: 112.6 kB / 0.737 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.7024, allocations: 4.125 kB / 0.7371 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004855/0.7029, allocations: 376.5 kB / 0.7374 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.703, allocations: 6.734 kB / 0.7374 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.703, allocations: 3.125 kB / 0.7374 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.703, allocations: 5.5 kB / 0.7374 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.7033, allocations: 285.5 kB / 0.7377 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7033, allocations: 0 / 0.7377 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.7034, allocations: 26.38 kB / 0.7377 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.7035, allocations: 4 kB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.7035, allocations: 1.969 kB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.7035, allocations: 3.984 kB / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7035, allocations: 0 / 0.7377 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.7039, allocations: 341.2 kB / 0.7381 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.704, allocations: 100.5 kB / 0.7382 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.7041, allocations: 6.359 kB / 0.7382 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.7042, allocations: 6.406 kB / 0.7382 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.7043, allocations: 12.98 kB / 0.7382 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.7043, allocations: 6.719 kB / 0.7382 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.05e-05/0.7044, allocations: 83.61 kB / 0.7383 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7044, allocations: 0 / 0.7383 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001511/0.7059, allocations: 306.4 kB / 0.7386 GB, free: 12.72 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.002701/0.7086, allocations: 1.15 MB / 0.7397 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.7089, allocations: 138.2 kB / 0.7398 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7089, allocations: 0 / 0.7398 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.7091, allocations: 113.7 kB / 0.7399 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.7094, allocations: 18.22 kB / 0.7399 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.7111, allocations: 433.6 kB / 0.7404 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004947/0.7116, allocations: 0.7137 MB / 0.741 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.7118, allocations: 35.28 kB / 0.7411 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.7119, allocations: 38.86 kB / 0.7411 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.7119, allocations: 0 / 0.7411 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.7489, allocations: 11.61 MB / 0.7525 GB, free: 144 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/9.212, allocations: 2.969 kB / 0.7525 GB, free: 144 kB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)