Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001133/0.001133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001103/0.001103, allocations: 190.9 kB / 16.25 MB, free: 6.621 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8819/0.8819, allocations: 143.1 MB / 433.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 63.89 kB / 0.5138 GB, free: 11.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1249, allocations: 82.04 MB / 0.5939 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.3288/0.4537, allocations: 133.7 MB / 0.7244 GB, free: 356 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009165/0.4629, allocations: 7.971 MB / 0.7322 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.463, allocations: 1.094 kB / 0.7322 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.4632, allocations: 19.44 kB / 0.7322 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.014e-05/0.4633, allocations: 21.03 kB / 0.7322 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.4674, allocations: 1.29 MB / 0.7335 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.4675, allocations: 76.75 kB / 0.7336 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.4676, allocations: 3.781 kB / 0.7336 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.4677, allocations: 47.98 kB / 0.7336 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.4678, allocations: 30.52 kB / 0.7337 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.4678, allocations: 3.812 kB / 0.7337 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.4716, allocations: 2.657 MB / 0.7362 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.4716, allocations: 14.05 kB / 0.7363 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.4716, allocations: 26.91 kB / 0.7363 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.4733, allocations: 1.38 MB / 0.7376 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4733, allocations: 6.094 kB / 0.7376 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4733, allocations: 0 / 0.7376 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4733, allocations: 0 / 0.7376 GB, free: 8.887 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.000835/0.4742, allocations: 0.4994 MB / 0.7381 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4742, allocations: 10.03 kB / 0.7381 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.4743, allocations: 36.84 kB / 0.7382 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.4746, allocations: 23.84 kB / 0.7382 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4747, allocations: 170.9 kB / 0.7384 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.4748, allocations: 41.08 kB / 0.7384 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.4748, allocations: 6.438 kB / 0.7384 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.4752, allocations: 123 kB / 0.7385 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4752, allocations: 0 / 0.7385 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4752, allocations: 0 / 0.7385 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4752, allocations: 2.781 kB / 0.7385 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.4755, allocations: 116.2 kB / 0.7386 GB, free: 8 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.0004306/0.4759, allocations: 385.3 kB / 0.739 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.4762, allocations: 125.8 kB / 0.7391 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.4762, allocations: 54.27 kB / 0.7392 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.4867, allocations: 4.197 MB / 0.7433 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.4868, allocations: 46.55 kB / 0.7433 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.4868, allocations: 0 / 0.7433 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0004682/0.4873, allocations: 162.8 kB / 0.7435 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.4873, allocations: 55.41 kB / 0.7435 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.4874, allocations: 93.86 kB / 0.7436 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4874, allocations: 29.7 kB / 0.7436 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.4875, allocations: 92.03 kB / 0.7437 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.4875, allocations: 47.53 kB / 0.7438 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.4876, allocations: 21.72 kB / 0.7438 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.4877, allocations: 326.7 kB / 0.7441 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.4877, allocations: 27.98 kB / 0.7441 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.4878, allocations: 23.98 kB / 0.7442 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.4879, allocations: 67.48 kB / 0.7442 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4879, allocations: 0 / 0.7442 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001656/0.4881, allocations: 113.5 kB / 0.7443 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4881, allocations: 4 kB / 0.7443 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4881, allocations: 7.984 kB / 0.7443 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.4881, allocations: 0 / 0.7443 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4882, allocations: 20.56 kB / 0.7444 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4882, allocations: 3.984 kB / 0.7444 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.4883, allocations: 7.938 kB / 0.7444 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4883, allocations: 4 kB / 0.7444 GB, free: 2.906 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.62e-05/0.4884, allocations: 113.8 kB / 0.7445 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.4884, allocations: 14.53 kB / 0.7445 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.4889, allocations: 368.9 kB / 0.7449 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.4889, allocations: 11.92 kB / 0.7449 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4889, allocations: 0 / 0.7449 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4889, allocations: 3.938 kB / 0.7449 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.4892, allocations: 285 kB / 0.7451 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4892, allocations: 4 kB / 0.7451 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.4893, allocations: 27.98 kB / 0.7452 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4893, allocations: 0 / 0.7452 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4893, allocations: 3.938 kB / 0.7452 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.4893, allocations: 4 kB / 0.7452 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4893, allocations: 0 / 0.7452 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.4896, allocations: 335.1 kB / 0.7455 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.4897, allocations: 92.94 kB / 0.7456 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.4897, allocations: 8 kB / 0.7456 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4899, allocations: 7.984 kB / 0.7456 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.4899, allocations: 15.98 kB / 0.7456 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4899, allocations: 8.438 kB / 0.7456 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.4899, allocations: 75.28 kB / 0.7457 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.49, allocations: 0 / 0.7457 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008217/0.4908, allocations: 303.9 kB / 0.746 GB, free: 1.172 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.001603/0.4924, allocations: 1.163 MB / 0.7471 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000223/0.4926, allocations: 133 kB / 0.7472 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4926, allocations: 0 / 0.7472 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4928, allocations: 115.9 kB / 0.7474 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.4931, allocations: 20.23 kB / 0.7474 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008186/0.4939, allocations: 498.7 kB / 0.7479 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.4941, allocations: 0.7144 MB / 0.7486 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.4942, allocations: 27.67 kB / 0.7486 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.113e-05/0.4943, allocations: 40.62 kB / 0.7486 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.4943, allocations: 7.875 kB / 0.7486 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3045/0.7989, allocations: 11.57 MB / 0.7599 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.7991, allocations: 212.2 kB / 0.7601 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.736, allocations: 0 / 0.7601 GB, free: 2.746 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)