Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.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.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 278.3 kB / 291.4 MB, free: 1.836 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9392/0.9392, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007025/0.0007025, allocations: 13.88 kB / 0.598 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1515, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4178/0.5694, allocations: 151.6 MB / 0.8325 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01809/0.5875, allocations: 15.69 MB / 0.8479 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.5887, allocations: 28.41 kB / 0.8479 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.5898, allocations: 366.9 kB / 0.8482 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.593, allocations: 1.187 MB / 0.8494 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.5956, allocations: 1 MB / 0.8504 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002332/0.5979, allocations: 2.374 MB / 0.8527 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.5996, allocations: 1.433 MB / 0.8541 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.6011, allocations: 0.921 MB / 0.855 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.6019, allocations: 0.7042 MB / 0.8557 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001251/0.6021, allocations: 41.09 kB / 0.8557 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.604, allocations: 0.9046 MB / 0.8566 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.6043, allocations: 357.8 kB / 0.8569 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.6046, allocations: 337 kB / 0.8573 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.6067, allocations: 2.17 MB / 0.8594 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6067, allocations: 4 kB / 0.8594 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6067, allocations: 0 / 0.8594 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.091e-05/0.6068, allocations: 0 / 0.8594 GB, free: 8.75 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.002994/0.6098, allocations: 1.878 MB / 0.8612 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/0.6098, allocations: 7.562 kB / 0.8612 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.6131, allocations: 0.5217 MB / 0.8617 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.6146, allocations: 1.049 MB / 0.8628 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.6147, allocations: 131 kB / 0.8629 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.6149, allocations: 164.7 kB / 0.863 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/0.6178, allocations: 1.834 MB / 0.8648 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.6179, allocations: 0 / 0.8648 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.618, allocations: 79.41 kB / 0.8649 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.6181, allocations: 40.94 kB / 0.8649 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.6211, allocations: 1.87 MB / 0.8668 GB, free: 4.082 MB / 0.5762 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.007/0.6281, allocations: 5.214 MB / 0.8719 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.631, allocations: 1.763 MB / 0.8736 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.6321, allocations: 0.6488 MB / 0.8742 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008338/0.6329, allocations: 0.8077 MB / 0.875 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.6345, allocations: 0.8978 MB / 0.8759 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 2.735e-06/0.6345, allocations: 0 / 0.8759 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.005739/0.6403, allocations: 2.575 MB / 0.8784 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.6404, allocations: 193.2 kB / 0.8786 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6414, allocations: 0.8228 MB / 0.8794 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.6415, allocations: 57.7 kB / 0.8794 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.642, allocations: 0.6368 MB / 0.8801 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.6424, allocations: 485 kB / 0.8805 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.6425, allocations: 32 kB / 0.8805 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6426, allocations: 353.9 kB / 0.8809 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/0.6436, allocations: 494.3 kB / 0.8814 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.6447, allocations: 0.6384 MB / 0.882 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.6458, allocations: 0.5569 MB / 0.8825 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6458, allocations: 0 / 0.8825 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00323/0.6491, allocations: 1.55 MB / 0.884 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6491, allocations: 10.19 kB / 0.884 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6491, allocations: 0 / 0.884 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00085/0.65, allocations: 196.2 kB / 0.8842 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.6515, allocations: 335.6 kB / 0.8846 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.6568, allocations: 6.78 MB / 0.8912 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.6583, allocations: 175.6 kB / 0.8913 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6584, allocations: 55.95 kB / 0.8914 GB, free: 10.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 151 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007397/0.6592, allocations: 381 kB / 0.8918 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.6594, allocations: 134.4 kB / 0.8919 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.6634, allocations: 1.854 MB / 0.8937 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6634, allocations: 20 kB / 0.8937 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6635, allocations: 96 / 0.8937 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.6635, allocations: 11.95 kB / 0.8937 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.6691, allocations: 3.435 MB / 0.8971 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6691, allocations: 7.891 kB / 0.8971 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/0.6706, allocations: 315.6 kB / 0.8974 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007453/0.6713, allocations: 188.1 kB / 0.8976 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.6715, allocations: 39.97 kB / 0.8976 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005196/0.6767, allocations: 6.814 MB / 0.9043 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6767, allocations: 0 / 0.9043 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.6803, allocations: 1.699 MB / 0.9059 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/0.681, allocations: 418.9 kB / 0.9063 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.6812, allocations: 24 kB / 0.9063 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.6823, allocations: 160.8 kB / 0.9065 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.6825, allocations: 113.1 kB / 0.9066 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.6827, allocations: 67.95 kB / 0.9067 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007447/0.6834, allocations: 0.5745 MB / 0.9072 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6835, allocations: 0 / 0.9072 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001481/0.6849, allocations: 0.5805 MB / 0.9078 GB, free: 9.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001565/0.6865, allocations: 0.7156 MB / 0.9085 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00304/0.6896, allocations: 1.867 MB / 0.9103 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6896, allocations: 4.562 kB / 0.9103 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.6914, allocations: 1.305 MB / 0.9116 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.6934, allocations: 469.3 kB / 0.912 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/0.6992, allocations: 3.65 MB / 0.9156 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008278/0.7001, allocations: 1.296 MB / 0.9169 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001753/0.7018, allocations: 430.1 kB / 0.9173 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/0.7023, allocations: 155.3 kB / 0.9174 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.7023, allocations: 0 / 0.9174 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.03841/0.7407, allocations: 24.91 MB / 0.9418 GB, free: 6.758 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)