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.001295/0.001295, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 275 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9232/0.9232, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 93.78 kB / 0.5952 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1852, allocations: 86.98 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5488/0.7341, allocations: 167 MB / 0.8433 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02318/0.7573, allocations: 16.94 MB / 0.8598 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.7591, allocations: 31.59 kB / 0.8599 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.761, allocations: 0.5044 MB / 0.8604 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005205/0.7663, allocations: 1.514 MB / 0.8618 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.7701, allocations: 1.313 MB / 0.8631 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003837/0.7739, allocations: 2.487 MB / 0.8655 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.7774, allocations: 1.941 MB / 0.8674 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.7813, allocations: 1.284 MB / 0.8687 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.7829, allocations: 0.9683 MB / 0.8696 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005258/0.7835, allocations: 206.3 kB / 0.8698 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.7866, allocations: 1.387 MB / 0.8712 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006995/0.7873, allocations: 0.5511 MB / 0.8717 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/0.7888, allocations: 1.002 MB / 0.8727 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004787/0.7936, allocations: 2.985 MB / 0.8756 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7936, allocations: 0 / 0.8756 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.958e-06/0.7937, allocations: 0 / 0.8756 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.674e-05/0.7938, allocations: 3.938 kB / 0.8756 GB, free: 10.72 MB / 0.5919 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.004729/0.7985, allocations: 2.252 MB / 0.8778 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.7985, allocations: 14.09 kB / 0.8778 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.8022, allocations: 0.5066 MB / 0.8783 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.8042, allocations: 1.082 MB / 0.8794 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.8043, allocations: 126 kB / 0.8795 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.8046, allocations: 170.7 kB / 0.8797 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.8079, allocations: 1.841 MB / 0.8815 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.8079, allocations: 7.938 kB / 0.8815 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.8081, allocations: 69.94 kB / 0.8815 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.8081, allocations: 43.12 kB / 0.8816 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.8115, allocations: 1.877 MB / 0.8834 GB, free: 5.77 MB / 0.5919 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.008048/0.8195, allocations: 5.192 MB / 0.8885 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/0.8227, allocations: 1.762 MB / 0.8902 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.8239, allocations: 0.6476 MB / 0.8908 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/0.8248, allocations: 0.8038 MB / 0.8916 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/0.8265, allocations: 0.8918 MB / 0.8925 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 3.436e-06/0.8266, allocations: 0 / 0.8925 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006509/0.8331, allocations: 2.556 MB / 0.895 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.8332, allocations: 201.2 kB / 0.8952 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.8346, allocations: 0.8383 MB / 0.896 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.8348, allocations: 53.7 kB / 0.8961 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/0.8354, allocations: 0.6446 MB / 0.8967 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.8358, allocations: 485 kB / 0.8972 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.8363, allocations: 254.7 kB / 0.8974 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8365, allocations: 357.9 kB / 0.8977 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.8375, allocations: 498.3 kB / 0.8982 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.8388, allocations: 0.6346 MB / 0.8988 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.8411, allocations: 1.118 MB / 0.8999 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8411, allocations: 4 kB / 0.8999 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003654/0.8447, allocations: 1.55 MB / 0.9014 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8448, allocations: 4 kB / 0.9014 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8448, allocations: 0 / 0.9014 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009279/0.8457, allocations: 200.2 kB / 0.9016 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.8473, allocations: 339.5 kB / 0.902 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005907/0.8532, allocations: 7.285 MB / 0.9091 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.8549, allocations: 157.5 kB / 0.9092 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/0.8552, allocations: 55.95 kB / 0.9093 GB, free: 11.22 MB / 0.6231 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.8563, allocations: 381.3 kB / 0.9096 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/0.8568, allocations: 134.4 kB / 0.9098 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/0.8615, allocations: 1.842 MB / 0.9116 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.8615, allocations: 16 kB / 0.9116 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.8615, allocations: 4 kB / 0.9116 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.8615, allocations: 7.969 kB / 0.9116 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/0.8681, allocations: 3.442 MB / 0.915 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.8681, allocations: 3.984 kB / 0.915 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/0.8696, allocations: 315.6 kB / 0.9153 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/0.8704, allocations: 184.1 kB / 0.9154 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.8705, allocations: 39.97 kB / 0.9155 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00559/0.8761, allocations: 7.326 MB / 0.9226 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8761, allocations: 0 / 0.9226 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.88, allocations: 1.718 MB / 0.9243 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007876/0.8808, allocations: 403 kB / 0.9247 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.8811, allocations: 32 kB / 0.9247 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/0.8824, allocations: 97.03 kB / 0.9248 GB, free: 10.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.8826, allocations: 117.1 kB / 0.9249 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/0.8828, allocations: 71.95 kB / 0.925 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001012/0.8838, allocations: 0.5784 MB / 0.9256 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8838, allocations: 3.938 kB / 0.9256 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001943/0.8858, allocations: 0.5688 MB / 0.9261 GB, free: 9.07 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001848/0.8876, allocations: 0.7257 MB / 0.9268 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005019/0.8927, allocations: 2.309 MB / 0.9291 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.8927, allocations: 4.562 kB / 0.9291 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.8946, allocations: 1.309 MB / 0.9304 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.897, allocations: 0.5161 MB / 0.9309 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.9032, allocations: 2.902 MB / 0.9337 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009487/0.9041, allocations: 1.3 MB / 0.935 GB, free: 32 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001743/0.9059, allocations: 438.1 kB / 0.9354 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004116/0.9063, allocations: 151.4 kB / 0.9355 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of SimCode: time 1.844e-06/0.9063, allocations: 0 / 0.9355 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.04114/0.9475, allocations: 26.9 MB / 0.9618 GB, free: 4.883 MB / 0.67 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)