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.001071/0.001071, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.00115/0.00115, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.947/0.947, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 82.31 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.5148/0.6839, allocations: 122.7 MB / 0.7073 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009156/0.6931, allocations: 7.478 MB / 0.7146 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.6932, allocations: 0 / 0.7146 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.6934, allocations: 23.81 kB / 0.7146 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.6935, allocations: 21.38 kB / 0.7146 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004414/0.6979, allocations: 1.121 MB / 0.7157 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.698, allocations: 69.36 kB / 0.7158 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.6981, allocations: 2.906 kB / 0.7158 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.6982, allocations: 43.48 kB / 0.7159 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.6983, allocations: 31.61 kB / 0.7159 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.6983, allocations: 3.625 kB / 0.7159 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00541/0.7037, allocations: 2.514 MB / 0.7183 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.7038, allocations: 14.36 kB / 0.7184 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.7038, allocations: 40.52 kB / 0.7184 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.7054, allocations: 0.9063 MB / 0.7193 GB, free: 13.63 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.7054, allocations: 5.25 kB / 0.7193 GB, free: 13.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7055, allocations: 0 / 0.7193 GB, free: 13.62 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.7055, allocations: 0 / 0.7193 GB, free: 13.62 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.001071/0.7065, allocations: 487.8 kB / 0.7197 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7066, allocations: 10.44 kB / 0.7198 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.7066, allocations: 43.33 kB / 0.7198 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.707, allocations: 24.38 kB / 0.7198 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.7071, allocations: 176.2 kB / 0.72 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.7072, allocations: 34.67 kB / 0.72 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.7072, allocations: 7.906 kB / 0.72 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.7076, allocations: 116 kB / 0.7201 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7076, allocations: 0 / 0.7201 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.7076, allocations: 9.203 kB / 0.7202 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7076, allocations: 1.219 kB / 0.7202 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.708, allocations: 112.6 kB / 0.7203 GB, free: 12.83 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.000489/0.7085, allocations: 384.3 kB / 0.7206 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.7087, allocations: 120.3 kB / 0.7207 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.7088, allocations: 59.34 kB / 0.7208 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.7196, allocations: 4.247 MB / 0.7249 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7196, allocations: 31.53 kB / 0.725 GB, free: 10.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 2.033e-06/0.7197, allocations: 1.188 kB / 0.725 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005226/0.7202, allocations: 173.1 kB / 0.7251 GB, free: 10.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.7202, allocations: 52.44 kB / 0.7252 GB, free: 10.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.7203, allocations: 100.7 kB / 0.7253 GB, free: 10.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.7203, allocations: 27.11 kB / 0.7253 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.7204, allocations: 83.61 kB / 0.7254 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.7204, allocations: 51.05 kB / 0.7254 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.7204, allocations: 0 / 0.7254 GB, free: 10.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7206, allocations: 319.6 kB / 0.7257 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.766e-05/0.7206, allocations: 29.42 kB / 0.7258 GB, free: 9.699 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.7207, allocations: 23.86 kB / 0.7258 GB, free: 9.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.188e-05/0.7207, allocations: 28.69 kB / 0.7258 GB, free: 9.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7207, allocations: 1 kB / 0.7258 GB, free: 9.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001815/0.7209, allocations: 112.2 kB / 0.7259 GB, free: 9.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.721, allocations: 7.094 kB / 0.7259 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.721, allocations: 1.031 kB / 0.7259 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.721, allocations: 0.875 kB / 0.7259 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7211, allocations: 25.72 kB / 0.726 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7211, allocations: 2.016 kB / 0.726 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.7212, allocations: 5.188 kB / 0.726 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.7212, allocations: 3.281 kB / 0.726 GB, free: 9.605 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.987e-05/0.7213, allocations: 119 kB / 0.7261 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.7214, allocations: 11.98 kB / 0.7261 GB, free: 9.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.7218, allocations: 379.5 kB / 0.7265 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.7219, allocations: 4.438 kB / 0.7265 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7219, allocations: 1.062 kB / 0.7265 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.7219, allocations: 0 / 0.7265 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.7222, allocations: 287.4 kB / 0.7267 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.7222, allocations: 0 / 0.7267 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.515e-05/0.7223, allocations: 21.84 kB / 0.7268 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7223, allocations: 1.031 kB / 0.7268 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.7223, allocations: 9.141 kB / 0.7268 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.676e-06/0.7223, allocations: 8.594 kB / 0.7268 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7223, allocations: 0 / 0.7268 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003212/0.7226, allocations: 331 kB / 0.7271 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.7227, allocations: 102.4 kB / 0.7272 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.7227, allocations: 5.547 kB / 0.7272 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.7229, allocations: 9.672 kB / 0.7272 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.7229, allocations: 9.234 kB / 0.7272 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.7229, allocations: 4 kB / 0.7272 GB, free: 8.672 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.723, allocations: 88.55 kB / 0.7273 GB, free: 8.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.013e-06/0.723, allocations: 0 / 0.7273 GB, free: 8.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001596/0.7246, allocations: 304.6 kB / 0.7276 GB, free: 8.559 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001934/0.7265, allocations: 1.138 MB / 0.7287 GB, free: 7.758 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.7268, allocations: 125.2 kB / 0.7288 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7268, allocations: 0 / 0.7288 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.7269, allocations: 117.8 kB / 0.7289 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.7272, allocations: 21.64 kB / 0.729 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.7281, allocations: 0.4948 MB / 0.7294 GB, free: 7.324 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.7284, allocations: 0.7188 MB / 0.7301 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00011/0.7285, allocations: 28.91 kB / 0.7302 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.7285, allocations: 38.3 kB / 0.7302 GB, free: 6.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.7285, allocations: 0 / 0.7302 GB, free: 6.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.7546, allocations: 11.62 MB / 0.7416 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.7548, allocations: 185 kB / 0.7417 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.096/2.851, allocations: 3.938 kB / 0.7417 GB, free: 13.78 MB / 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/linux/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) Environment - environmentSimulation: