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.0007564/0.0007565, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.006048/0.006048, allocations: 180.8 kB / 16.26 MB, free: 6.605 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.41/1.41, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9703/0.9703, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 8 kB / 0.5077 GB, free: 4.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1924, allocations: 82.32 MB / 0.5881 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.4153/0.6078, allocations: 131.7 MB / 0.7167 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008718/0.6165, allocations: 8.394 MB / 0.7249 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.6166, allocations: 1.406 kB / 0.7249 GB, free: 6.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.6168, allocations: 18.81 kB / 0.7249 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.6168, allocations: 17.33 kB / 0.7249 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002667/0.6195, allocations: 1.159 MB / 0.7261 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.6196, allocations: 75.19 kB / 0.7261 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.6196, allocations: 7.641 kB / 0.7262 GB, free: 5.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.6197, allocations: 38.77 kB / 0.7262 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.6198, allocations: 39 kB / 0.7262 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.6198, allocations: 3.906 kB / 0.7262 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/0.6238, allocations: 2.656 MB / 0.7288 GB, free: 5.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.6239, allocations: 11.55 kB / 0.7288 GB, free: 5.133 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.6239, allocations: 62.02 kB / 0.7289 GB, free: 5.082 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.6255, allocations: 1.369 MB / 0.7302 GB, free: 4.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.6255, allocations: 0 / 0.7302 GB, free: 4.773 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6255, allocations: 0.7812 kB / 0.7302 GB, free: 4.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.6255, allocations: 4 kB / 0.7302 GB, free: 4.77 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.000808/0.6263, allocations: 491 kB / 0.7307 GB, free: 4.348 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6264, allocations: 13.08 kB / 0.7307 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.6264, allocations: 37.09 kB / 0.7308 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.6267, allocations: 19.86 kB / 0.7308 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.77e-05/0.6268, allocations: 177.5 kB / 0.7309 GB, free: 4.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.6269, allocations: 33.05 kB / 0.731 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.6269, allocations: 12.25 kB / 0.731 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.6273, allocations: 119.1 kB / 0.7311 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.6273, allocations: 0 / 0.7311 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.6273, allocations: 3.719 kB / 0.7311 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.6273, allocations: 2.156 kB / 0.7311 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.6276, allocations: 118.5 kB / 0.7312 GB, free: 3.969 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.0004011/0.628, allocations: 385.9 kB / 0.7316 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.6282, allocations: 120 kB / 0.7317 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.225e-05/0.6283, allocations: 53.19 kB / 0.7318 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.639, allocations: 4.253 MB / 0.7359 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.639, allocations: 39.75 kB / 0.7359 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.639, allocations: 0 / 0.7359 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0005657/0.6396, allocations: 163.4 kB / 0.7361 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.6397, allocations: 62.16 kB / 0.7362 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.102e-05/0.6397, allocations: 97.58 kB / 0.7363 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.6398, allocations: 31.02 kB / 0.7363 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.6398, allocations: 89.14 kB / 0.7364 GB, free: 424 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.6399, allocations: 40.44 kB / 0.7364 GB, free: 388 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.6399, allocations: 21.23 kB / 0.7364 GB, free: 364 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.64, allocations: 319.8 kB / 0.7367 GB, free: 36 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.6401, allocations: 25.89 kB / 0.7368 GB, free: 24 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/0.6401, allocations: 25.98 kB / 0.7368 GB, free: 12 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.6403, allocations: 74.08 kB / 0.7368 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6403, allocations: 1.656 kB / 0.7369 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001794/0.6404, allocations: 110 kB / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.6405, allocations: 6.719 kB / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6405, allocations: 1.031 kB / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6405, allocations: 0 / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.6407, allocations: 22.17 kB / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.6407, allocations: 3.938 kB / 0.737 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.6408, allocations: 11.38 kB / 0.737 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.6408, allocations: 3.031 kB / 0.737 GB, free: 15.88 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.0001207/0.6409, allocations: 115.4 kB / 0.7371 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.641, allocations: 7.375 kB / 0.7371 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006046/0.6416, allocations: 367.2 kB / 0.7375 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.6416, allocations: 13.34 kB / 0.7375 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.6416, allocations: 2.812 kB / 0.7375 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6416, allocations: 3.938 kB / 0.7375 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.642, allocations: 285.5 kB / 0.7378 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.642, allocations: 0 / 0.7378 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-05/0.6421, allocations: 25.86 kB / 0.7378 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6421, allocations: 1.375 kB / 0.7378 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.6422, allocations: 0 / 0.7378 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6422, allocations: 5.359 kB / 0.7378 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6422, allocations: 3.938 kB / 0.7378 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.6426, allocations: 340 kB / 0.7381 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/0.6427, allocations: 95.81 kB / 0.7382 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.6427, allocations: 16.73 kB / 0.7382 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.6429, allocations: 4.125 kB / 0.7382 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.6429, allocations: 12.11 kB / 0.7382 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.6429, allocations: 11.89 kB / 0.7383 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.643, allocations: 82.02 kB / 0.7383 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.643, allocations: 4 kB / 0.7383 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002184/0.6452, allocations: 295.5 kB / 0.7386 GB, free: 14.74 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.002514/0.6477, allocations: 1.153 MB / 0.7397 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002512/0.648, allocations: 123.4 kB / 0.7399 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.648, allocations: 0 / 0.7399 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.6481, allocations: 115.5 kB / 0.74 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.6485, allocations: 21.83 kB / 0.74 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.6497, allocations: 497.3 kB / 0.7405 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.65, allocations: 0.7118 MB / 0.7412 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.6502, allocations: 32.28 kB / 0.7412 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.6502, allocations: 43.39 kB / 0.7412 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.6502, allocations: 0 / 0.7412 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3673/1.018, allocations: 11.36 MB / 0.7523 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.018, allocations: 191 kB / 0.7525 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.462, allocations: 0 / 0.7525 GB, free: 2.832 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/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)