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.00559/0.00559, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001164/0.001164, allocations: 197.4 kB / 16.67 MB, free: 5.98 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8151/0.8151, allocations: 132.2 MB / 422.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 0.5808 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4542, allocations: 80.21 MB / 0.6592 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1513/0.6056, allocations: 135.6 MB / 0.7916 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009303/0.615, allocations: 7.931 MB / 0.7993 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.028e-05/0.6151, allocations: 0 / 0.7993 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.6153, allocations: 23.89 kB / 0.7993 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.152e-05/0.6153, allocations: 27.78 kB / 0.7994 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.619, allocations: 1.46 MB / 0.8008 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.6191, allocations: 71.66 kB / 0.8009 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.6191, allocations: 8 kB / 0.8009 GB, free: 4.555 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.6193, allocations: 47.83 kB / 0.8009 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.6194, allocations: 35.83 kB / 0.8009 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.6194, allocations: 4 kB / 0.801 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.6239, allocations: 2.708 MB / 0.8036 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.6239, allocations: 4 kB / 0.8036 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.624, allocations: 39.84 kB / 0.8036 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.6263, allocations: 1.376 MB / 0.805 GB, free: 344 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.6263, allocations: 0 / 0.805 GB, free: 344 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6263, allocations: 0 / 0.805 GB, free: 344 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.6263, allocations: 0 / 0.805 GB, free: 344 kB / 0.6231 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.001146/0.6275, allocations: 499.1 kB / 0.8055 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6275, allocations: 12.03 kB / 0.8055 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.6276, allocations: 38.69 kB / 0.8055 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003967/0.628, allocations: 32.81 kB / 0.8055 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.6281, allocations: 164.3 kB / 0.8057 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.6282, allocations: 38.02 kB / 0.8057 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.6282, allocations: 4 kB / 0.8057 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.6286, allocations: 125.1 kB / 0.8059 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6286, allocations: 0 / 0.8059 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6287, allocations: 4 kB / 0.8059 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.6287, allocations: 4 kB / 0.8059 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.629, allocations: 119.8 kB / 0.806 GB, free: 15.21 MB / 0.6387 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.0005204/0.6295, allocations: 384 kB / 0.8063 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.6298, allocations: 126.6 kB / 0.8065 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.6299, allocations: 56.83 kB / 0.8065 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01118/0.6411, allocations: 4.222 MB / 0.8106 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6411, allocations: 34.56 kB / 0.8107 GB, free: 10 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.6411, allocations: 0 / 0.8107 GB, free: 10 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.000525/0.6417, allocations: 173.5 kB / 0.8108 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.6417, allocations: 55.34 kB / 0.8109 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.6418, allocations: 101.7 kB / 0.811 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.6418, allocations: 33.7 kB / 0.811 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.6419, allocations: 80.14 kB / 0.8111 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.6419, allocations: 43.44 kB / 0.8111 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.642, allocations: 29.7 kB / 0.8112 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6421, allocations: 322.8 kB / 0.8115 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.317e-05/0.6421, allocations: 24 kB / 0.8115 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-05/0.6422, allocations: 31.92 kB / 0.8115 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.6423, allocations: 71.84 kB / 0.8116 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6423, allocations: 0 / 0.8116 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001793/0.6425, allocations: 105.6 kB / 0.8117 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6425, allocations: 8 kB / 0.8117 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6425, allocations: 0 / 0.8117 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6426, allocations: 0 / 0.8117 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.6427, allocations: 23.92 kB / 0.8117 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.6427, allocations: 0 / 0.8117 GB, free: 8.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.6428, allocations: 15.94 kB / 0.8117 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.6428, allocations: 7.984 kB / 0.8117 GB, free: 8.84 MB / 0.6387 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 7.826e-05/0.6429, allocations: 109.8 kB / 0.8119 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.6429, allocations: 7.906 kB / 0.8119 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.6434, allocations: 376 kB / 0.8122 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.6434, allocations: 4 kB / 0.8122 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6434, allocations: 3.984 kB / 0.8122 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.6435, allocations: 7.922 kB / 0.8122 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.6437, allocations: 281.3 kB / 0.8125 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6438, allocations: 4 kB / 0.8125 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.6439, allocations: 23.98 kB / 0.8125 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6439, allocations: 7.938 kB / 0.8125 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.6439, allocations: 0 / 0.8125 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6439, allocations: 0 / 0.8125 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6439, allocations: 0 / 0.8125 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.6442, allocations: 331 kB / 0.8129 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.6443, allocations: 108.8 kB / 0.813 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.6444, allocations: 8 kB / 0.813 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.6445, allocations: 4 kB / 0.813 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.6446, allocations: 15.92 kB / 0.813 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.6446, allocations: 11.92 kB / 0.813 GB, free: 7.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.6446, allocations: 79.28 kB / 0.8131 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6446, allocations: 0 / 0.8131 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000927/0.6456, allocations: 303.9 kB / 0.8134 GB, free: 7.094 MB / 0.6387 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.002036/0.6476, allocations: 1.141 MB / 0.8145 GB, free: 5.922 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.6478, allocations: 124 kB / 0.8146 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6479, allocations: 0 / 0.8146 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.648, allocations: 111.9 kB / 0.8147 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.6483, allocations: 19.94 kB / 0.8147 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009509/0.6493, allocations: 433.9 kB / 0.8151 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.6495, allocations: 0.7127 MB / 0.8158 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001112/0.6497, allocations: 28.34 kB / 0.8159 GB, free: 4.438 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.6497, allocations: 43.42 kB / 0.8159 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of SimCode: time 4e-07/0.6497, allocations: 0 / 0.8159 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.6805, allocations: 11.66 MB / 0.8273 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.356, allocations: 7.984 kB / 0.8273 GB, free: 8.848 MB / 0.6544 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)