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.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001574/0.001574, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001985/0.001985, allocations: 278.3 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9103/0.9103, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 93.98 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1952, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4971/0.6923, allocations: 164.7 MB / 0.8405 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01893/0.7113, allocations: 16.76 MB / 0.8569 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.7133, allocations: 26.88 kB / 0.8569 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.7149, allocations: 446.3 kB / 0.8573 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004549/0.7194, allocations: 1.381 MB / 0.8587 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.7227, allocations: 1.195 MB / 0.8598 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002914/0.7256, allocations: 2.488 MB / 0.8623 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.728, allocations: 1.948 MB / 0.8642 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.7329, allocations: 1.305 MB / 0.8654 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.7341, allocations: 0.9764 MB / 0.8664 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.7344, allocations: 208.7 kB / 0.8666 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.7371, allocations: 1.428 MB / 0.868 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.7375, allocations: 0.558 MB / 0.8685 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.7385, allocations: 0.997 MB / 0.8695 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004561/0.7431, allocations: 3.05 MB / 0.8725 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.7432, allocations: 4 kB / 0.8725 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7432, allocations: 2.844 kB / 0.8725 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.324e-05/0.7432, allocations: 0 / 0.8725 GB, free: 13.35 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.004233/0.7475, allocations: 2.256 MB / 0.8747 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.7475, allocations: 12.19 kB / 0.8747 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.7511, allocations: 0.5047 MB / 0.8752 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.7528, allocations: 1.082 MB / 0.8763 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.7529, allocations: 127.8 kB / 0.8764 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.7531, allocations: 168.5 kB / 0.8765 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.7562, allocations: 1.845 MB / 0.8783 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.7563, allocations: 0 / 0.8783 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.7564, allocations: 73.66 kB / 0.8784 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.7565, allocations: 46.59 kB / 0.8785 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.7597, allocations: 1.877 MB / 0.8803 GB, free: 8.395 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.00796/0.7677, allocations: 5.172 MB / 0.8853 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.7707, allocations: 1.765 MB / 0.8871 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.7719, allocations: 0.6483 MB / 0.8877 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009395/0.7729, allocations: 0.8116 MB / 0.8885 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00186/0.7747, allocations: 0.8919 MB / 0.8894 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.837e-06/0.7748, allocations: 0 / 0.8894 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=146): time 0.006435/0.7812, allocations: 2.552 MB / 0.8919 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.7814, allocations: 193.2 kB / 0.892 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.7827, allocations: 0.8423 MB / 0.8929 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.7829, allocations: 57.7 kB / 0.8929 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/0.7834, allocations: 0.6445 MB / 0.8935 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/0.7839, allocations: 480.9 kB / 0.894 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.7843, allocations: 258.7 kB / 0.8942 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7845, allocations: 357.9 kB / 0.8946 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.7855, allocations: 494.3 kB / 0.8951 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/0.7867, allocations: 0.6385 MB / 0.8957 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.789, allocations: 1.118 MB / 0.8968 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.789, allocations: 0 / 0.8968 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003755/0.7928, allocations: 1.554 MB / 0.8983 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.7928, allocations: 8 kB / 0.8983 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7928, allocations: 0 / 0.8983 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009904/0.7938, allocations: 188.2 kB / 0.8985 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.7954, allocations: 343.5 kB / 0.8988 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/0.8015, allocations: 7.283 MB / 0.9059 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.8031, allocations: 162.9 kB / 0.9061 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/0.8033, allocations: 63.89 kB / 0.9061 GB, free: 14.32 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.0009539/0.8043, allocations: 380.6 kB / 0.9065 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.8047, allocations: 130.5 kB / 0.9066 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/0.8092, allocations: 1.846 MB / 0.9084 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.8092, allocations: 16 kB / 0.9084 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.8092, allocations: 0 / 0.9084 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.8093, allocations: 11.97 kB / 0.9085 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006517/0.8158, allocations: 3.442 MB / 0.9118 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.8158, allocations: 4 kB / 0.9118 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.8174, allocations: 311.6 kB / 0.9121 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007527/0.8181, allocations: 184.1 kB / 0.9123 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.8183, allocations: 39.97 kB / 0.9123 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005844/0.8241, allocations: 7.326 MB / 0.9195 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8241, allocations: 0 / 0.9195 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.8284, allocations: 1.714 MB / 0.9212 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009915/0.8294, allocations: 395 kB / 0.9215 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/0.8298, allocations: 35.98 kB / 0.9216 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.8313, allocations: 116.9 kB / 0.9217 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.8316, allocations: 121.1 kB / 0.9218 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/0.8318, allocations: 71.95 kB / 0.9219 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009275/0.8327, allocations: 0.5784 MB / 0.9224 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8327, allocations: 0 / 0.9224 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001774/0.8345, allocations: 0.5766 MB / 0.923 GB, free: 12.16 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.002011/0.8365, allocations: 0.7194 MB / 0.9237 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005253/0.8418, allocations: 2.309 MB / 0.926 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.8418, allocations: 4.562 kB / 0.926 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.8439, allocations: 1.313 MB / 0.9272 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/0.8464, allocations: 0.4999 MB / 0.9277 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/0.8532, allocations: 3.666 MB / 0.9313 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.8543, allocations: 1.296 MB / 0.9326 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001959/0.8563, allocations: 442 kB / 0.933 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.8568, allocations: 151.4 kB / 0.9331 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/0.8568, allocations: 4 kB / 0.9331 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of Templates: time 0.0463/0.9031, allocations: 26.77 MB / 0.9593 GB, free: 7.355 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)