Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") translateModel(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001013/0.001013, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.282/1.282, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 286.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9162/0.9162, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.36, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1301/0.4901, allocations: 135.6 MB / 0.8994 GB, free: 11.8 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008496/0.4986, allocations: 7.927 MB / 0.9072 GB, free: 3.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.4987, allocations: 0 / 0.9072 GB, free: 3.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.4988, allocations: 23.91 kB / 0.9072 GB, free: 3.816 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 4.604e-05/0.4989, allocations: 23.78 kB / 0.9072 GB, free: 3.793 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.5022, allocations: 1.468 MB / 0.9086 GB, free: 2.328 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.5024, allocations: 71.66 kB / 0.9087 GB, free: 2.258 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.5024, allocations: 7.984 kB / 0.9087 GB, free: 2.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.5025, allocations: 43.84 kB / 0.9088 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.359e-05/0.5026, allocations: 31.89 kB / 0.9088 GB, free: 2.176 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.5027, allocations: 4 kB / 0.9088 GB, free: 2.172 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004273/0.5069, allocations: 2.708 MB / 0.9114 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.507, allocations: 15.92 kB / 0.9115 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.507, allocations: 31.86 kB / 0.9115 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.5089, allocations: 1.379 MB / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5089, allocations: 0 / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.925e-06/0.509, allocations: 0 / 0.9128 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.509, allocations: 3.938 kB / 0.9128 GB, free: 14.03 MB / 0.6856 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.0009551/0.5099, allocations: 499.2 kB / 0.9133 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.51, allocations: 8.031 kB / 0.9133 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.5103, allocations: 32.81 kB / 0.9134 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5105, allocations: 172.2 kB / 0.9135 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/0.5105, allocations: 38.27 kB / 0.9136 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.5106, allocations: 7.938 kB / 0.9136 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.5109, allocations: 117.6 kB / 0.9137 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5109, allocations: 7.922 kB / 0.9137 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.5109, allocations: 4 kB / 0.9137 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.511, allocations: 4 kB / 0.9137 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.5112, allocations: 115.8 kB / 0.9138 GB, free: 12.95 MB / 0.6856 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.0004484/0.5117, allocations: 388 kB / 0.9142 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.5119, allocations: 114.6 kB / 0.9143 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.843e-05/0.512, allocations: 52.83 kB / 0.9143 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.5235, allocations: 4.234 MB / 0.9185 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.5236, allocations: 34.5 kB / 0.9185 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.5236, allocations: 0 / 0.9185 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13): time 0.0004476/0.524, allocations: 162.9 kB / 0.9187 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.5241, allocations: 51.41 kB / 0.9187 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.105e-05/0.5241, allocations: 109.8 kB / 0.9188 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.5242, allocations: 29.7 kB / 0.9188 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.5242, allocations: 84.14 kB / 0.9189 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.5243, allocations: 43.44 kB / 0.919 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.5243, allocations: 29.7 kB / 0.919 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.5244, allocations: 322.8 kB / 0.9193 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.5245, allocations: 23.98 kB / 0.9193 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-05/0.5245, allocations: 27.98 kB / 0.9193 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.5246, allocations: 75.41 kB / 0.9194 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5246, allocations: 0 / 0.9194 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001748/0.5248, allocations: 109.6 kB / 0.9195 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5248, allocations: 4 kB / 0.9195 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5249, allocations: 4 kB / 0.9195 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5249, allocations: 0 / 0.9195 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.525, allocations: 19.98 kB / 0.9195 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.525, allocations: 7.875 kB / 0.9196 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.5251, allocations: 4 kB / 0.9196 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.5251, allocations: 7.938 kB / 0.9196 GB, free: 6.586 MB / 0.6856 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 8.063e-05/0.5252, allocations: 120.2 kB / 0.9197 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.5252, allocations: 11.89 kB / 0.9197 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.5256, allocations: 360.3 kB / 0.92 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5257, allocations: 3.984 kB / 0.92 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5257, allocations: 0 / 0.92 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.5257, allocations: 108.8 kB / 0.9201 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.5258, allocations: 7.875 kB / 0.9202 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.5259, allocations: 11.98 kB / 0.9202 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.5259, allocations: 11.98 kB / 0.9202 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003347/0.5263, allocations: 317.1 kB / 0.9205 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003321/0.5266, allocations: 403 kB / 0.9209 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001133/0.5268, allocations: 115 kB / 0.921 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.092e-05/0.5268, allocations: 79.47 kB / 0.921 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of Backend: time 2.21e-07/0.5268, allocations: 0 / 0.921 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001733/0.5285, allocations: 0.502 MB / 0.9215 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0005044/0.5291, allocations: 0.6683 MB / 0.9222 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of Templates: time 0.01605/0.5451, allocations: 11.82 MB / 0.9337 GB, free: 7.977 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)