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.001469/0.001469, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001511/0.001511, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.452/2.452, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.276/1.276, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005114, allocations: 8 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8238, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.2552/1.079, allocations: 114.4 MB / 0.6947 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01589/1.095, allocations: 6.915 MB / 0.7015 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/1.095, allocations: 0 / 0.7015 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003364/1.096, allocations: 27.88 kB / 0.7015 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/1.096, allocations: 19.91 kB / 0.7015 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007642/1.104, allocations: 1.119 MB / 0.7026 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/1.104, allocations: 43.88 kB / 0.7026 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.925e-05/1.104, allocations: 11.97 kB / 0.7027 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/1.104, allocations: 39.91 kB / 0.7027 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/1.104, allocations: 31.84 kB / 0.7027 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/1.104, allocations: 4 kB / 0.7027 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/1.115, allocations: 2.548 MB / 0.7052 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/1.115, allocations: 15.97 kB / 0.7052 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/1.115, allocations: 33.7 kB / 0.7053 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003791/1.119, allocations: 0.9144 MB / 0.7062 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.119, allocations: 0 / 0.7062 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.146e-06/1.119, allocations: 4 kB / 0.7062 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.123e-06/1.119, allocations: 0 / 0.7062 GB, free: 2.152 MB / 0.5294 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.002444/1.122, allocations: 490.9 kB / 0.7066 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 9.564e-05/1.122, allocations: 8.031 kB / 0.7066 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/1.122, allocations: 34.56 kB / 0.7067 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/1.123, allocations: 23.97 kB / 0.7067 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/1.123, allocations: 170.9 kB / 0.7069 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/1.123, allocations: 41.69 kB / 0.7069 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/1.123, allocations: 4 kB / 0.7069 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/1.124, allocations: 124.1 kB / 0.707 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.124, allocations: 0 / 0.707 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/1.124, allocations: 3.953 kB / 0.707 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/1.124, allocations: 4 kB / 0.707 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/1.124, allocations: 115.9 kB / 0.7071 GB, free: 1.047 MB / 0.5294 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.0007927/1.125, allocations: 380.1 kB / 0.7075 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/1.126, allocations: 130.5 kB / 0.7076 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01753/1.143, allocations: 4.254 MB / 0.7118 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.247e-05/1.143, allocations: 34.56 kB / 0.7118 GB, free: 11.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 3.487e-06/1.143, allocations: 0 / 0.7118 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001061/1.144, allocations: 153.9 kB / 0.712 GB, free: 11.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/1.145, allocations: 59.41 kB / 0.712 GB, free: 11.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/1.145, allocations: 101.8 kB / 0.7121 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/1.145, allocations: 33.64 kB / 0.7121 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.145, allocations: 88.08 kB / 0.7122 GB, free: 11.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/1.145, allocations: 43.44 kB / 0.7123 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/1.145, allocations: 4 kB / 0.7123 GB, free: 11.35 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002616/1.145, allocations: 314.8 kB / 0.7126 GB, free: 11.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.281e-05/1.145, allocations: 24 kB / 0.7126 GB, free: 11.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/1.146, allocations: 23.98 kB / 0.7126 GB, free: 10.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/1.146, allocations: 35.86 kB / 0.7127 GB, free: 10.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.146, allocations: 7.938 kB / 0.7127 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00034/1.146, allocations: 109.6 kB / 0.7128 GB, free: 10.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/1.146, allocations: 7.953 kB / 0.7128 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.146, allocations: 0 / 0.7128 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.146, allocations: 0 / 0.7128 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/1.146, allocations: 27.92 kB / 0.7128 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/1.146, allocations: 0 / 0.7128 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.932e-05/1.146, allocations: 4 kB / 0.7128 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/1.146, allocations: 4 kB / 0.7128 GB, free: 10.79 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 0.0001578/1.147, allocations: 117.8 kB / 0.7129 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/1.147, allocations: 11.89 kB / 0.7129 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/1.147, allocations: 367.5 kB / 0.7133 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/1.148, allocations: 7.984 kB / 0.7133 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.148, allocations: 8 kB / 0.7133 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/1.148, allocations: 0 / 0.7133 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/1.148, allocations: 289.3 kB / 0.7136 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.148, allocations: 0 / 0.7136 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/1.148, allocations: 19.98 kB / 0.7136 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/1.148, allocations: 4 kB / 0.7136 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/1.148, allocations: 3.953 kB / 0.7136 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.148, allocations: 0 / 0.7136 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.148, allocations: 0 / 0.7136 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/1.149, allocations: 334.9 kB / 0.7139 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/1.149, allocations: 100.9 kB / 0.714 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/1.149, allocations: 7.953 kB / 0.714 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/1.149, allocations: 11.98 kB / 0.714 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/1.149, allocations: 8.172 kB / 0.714 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/1.149, allocations: 4 kB / 0.714 GB, free: 9.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.743e-05/1.149, allocations: 91.14 kB / 0.7141 GB, free: 9.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.15, allocations: 0 / 0.7141 GB, free: 9.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001938/1.151, allocations: 303.9 kB / 0.7144 GB, free: 9.035 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.003607/1.155, allocations: 1.141 MB / 0.7155 GB, free: 7.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004679/1.156, allocations: 116 kB / 0.7156 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.156, allocations: 0 / 0.7156 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/1.156, allocations: 119.9 kB / 0.7158 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/1.156, allocations: 19.94 kB / 0.7158 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/1.158, allocations: 0.4993 MB / 0.7163 GB, free: 7.074 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/1.159, allocations: 0.7169 MB / 0.717 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001941/1.159, allocations: 27.47 kB / 0.717 GB, free: 6.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/1.159, allocations: 43.42 kB / 0.717 GB, free: 6.266 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.159, allocations: 0 / 0.717 GB, free: 6.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/1.206, allocations: 11.59 MB / 0.7284 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/1.206, allocations: 181.2 kB / 0.7285 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.579/4.785, allocations: 3.891 kB / 0.7285 GB, free: 10.57 MB / 0.5606 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/linux/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) Environment - environmentSimulation: