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.0009569/0.0009569, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00102/0.00102, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.186/1.186, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7142/0.7142, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 59.62 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3405, allocations: 80.2 MB / 0.5795 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1424/0.483, allocations: 133.5 MB / 0.7099 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009252/0.4923, allocations: 8.502 MB / 0.7182 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.4923, allocations: 0 / 0.7182 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.4925, allocations: 19.89 kB / 0.7182 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.4926, allocations: 15.89 kB / 0.7182 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.4954, allocations: 1.148 MB / 0.7193 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.409e-05/0.4955, allocations: 79.58 kB / 0.7194 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.4955, allocations: 7.953 kB / 0.7194 GB, free: 1.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.4957, allocations: 47.84 kB / 0.7195 GB, free: 1.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.568e-05/0.4957, allocations: 35.84 kB / 0.7195 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.4958, allocations: 0 / 0.7195 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.4995, allocations: 2.661 MB / 0.7221 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.4995, allocations: 15.97 kB / 0.7221 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.4996, allocations: 27.86 kB / 0.7221 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.5012, allocations: 1.376 MB / 0.7235 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5012, allocations: 0 / 0.7235 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5012, allocations: 3.938 kB / 0.7235 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5e-06/0.5013, allocations: 0 / 0.7235 GB, free: 13.76 MB / 0.5606 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.0008962/0.5022, allocations: 0.4953 MB / 0.724 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5022, allocations: 8.031 kB / 0.724 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.5023, allocations: 42.73 kB / 0.724 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.5026, allocations: 20.83 kB / 0.724 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.5027, allocations: 172.3 kB / 0.7242 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.284e-05/0.5028, allocations: 38.02 kB / 0.7242 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.5028, allocations: 4 kB / 0.7242 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000348/0.5032, allocations: 133.5 kB / 0.7244 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5032, allocations: 0 / 0.7244 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5032, allocations: 0 / 0.7244 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5032, allocations: 0 / 0.7244 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.5035, allocations: 119.9 kB / 0.7245 GB, free: 12.63 MB / 0.5606 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.0004521/0.504, allocations: 372.1 kB / 0.7248 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.5042, allocations: 130.5 kB / 0.725 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.5043, allocations: 48.84 kB / 0.725 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.5147, allocations: 4.203 MB / 0.7291 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.5147, allocations: 34.56 kB / 0.7291 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.5147, allocations: 0 / 0.7291 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005161/0.5153, allocations: 169.5 kB / 0.7293 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.5153, allocations: 59.39 kB / 0.7294 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.915e-05/0.5154, allocations: 101.8 kB / 0.7295 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.5154, allocations: 29.7 kB / 0.7295 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.5155, allocations: 80.14 kB / 0.7296 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.5155, allocations: 51.38 kB / 0.7296 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.5156, allocations: 33.64 kB / 0.7296 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5157, allocations: 318.8 kB / 0.7299 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.611e-05/0.5158, allocations: 24 kB / 0.73 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.5158, allocations: 27.98 kB / 0.73 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5159, allocations: 67.59 kB / 0.7301 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.516, allocations: 0 / 0.7301 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001827/0.5161, allocations: 109.7 kB / 0.7302 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5162, allocations: 5.562 kB / 0.7302 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5162, allocations: 0 / 0.7302 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.5162, allocations: 0 / 0.7302 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5163, allocations: 23.92 kB / 0.7302 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5163, allocations: 7.984 kB / 0.7302 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.5164, allocations: 15.84 kB / 0.7302 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.5164, allocations: 4 kB / 0.7302 GB, free: 6.289 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 7.169e-05/0.5165, allocations: 113.8 kB / 0.7303 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.5165, allocations: 4 kB / 0.7303 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.517, allocations: 384.2 kB / 0.7307 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.517, allocations: 4 kB / 0.7307 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.517, allocations: 0 / 0.7307 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.517, allocations: 3.938 kB / 0.7307 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.5173, allocations: 285.4 kB / 0.731 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5173, allocations: 0 / 0.731 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.5174, allocations: 27.98 kB / 0.731 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5174, allocations: 0 / 0.731 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5174, allocations: 0 / 0.731 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5174, allocations: 0 / 0.731 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5175, allocations: 4 kB / 0.731 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.5178, allocations: 334.9 kB / 0.7313 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.5178, allocations: 104.8 kB / 0.7314 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5179, allocations: 4 kB / 0.7314 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.518, allocations: 4 kB / 0.7314 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.518, allocations: 11.92 kB / 0.7314 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.5181, allocations: 11.98 kB / 0.7315 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.5181, allocations: 83.28 kB / 0.7315 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5181, allocations: 0 / 0.7315 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000768/0.5189, allocations: 299.9 kB / 0.7318 GB, free: 4.547 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.001727/0.5206, allocations: 1.145 MB / 0.7329 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.5209, allocations: 129.5 kB / 0.7331 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5209, allocations: 0 / 0.7331 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.521, allocations: 115.9 kB / 0.7332 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.5213, allocations: 19.92 kB / 0.7332 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009125/0.5223, allocations: 495.7 kB / 0.7337 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.5225, allocations: 0.713 MB / 0.7344 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.5226, allocations: 36.31 kB / 0.7344 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.5227, allocations: 39.42 kB / 0.7344 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5227, allocations: 0 / 0.7344 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1968/0.7195, allocations: 11.43 MB / 0.7456 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/0.7198, allocations: 186.7 kB / 0.7458 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/2.874, allocations: 0 / 0.7458 GB, free: 6.223 MB / 0.5762 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)