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.00101/0.00101, allocations: 107.3 kB / 15.99 MB, free: 6.355 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.001056/0.001056, allocations: 193 kB / 16.91 MB, free: 6.195 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 294.6 kB / 291 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8945/0.8945, allocations: 169.2 MB / 0.4985 GB, free: 4.648 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 90.73 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1635, allocations: 86.99 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.475/0.6385, allocations: 164.7 MB / 0.8412 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02083/0.6594, allocations: 16.75 MB / 0.8575 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/0.6611, allocations: 31.81 kB / 0.8575 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.663, allocations: 441.3 kB / 0.858 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.6679, allocations: 1.389 MB / 0.8593 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003305/0.6712, allocations: 1.187 MB / 0.8605 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003548/0.6748, allocations: 2.487 MB / 0.8629 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.6776, allocations: 1.943 MB / 0.8648 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005354/0.683, allocations: 1.317 MB / 0.8661 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.6846, allocations: 0.9879 MB / 0.8671 GB, free: 176 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006559/0.6852, allocations: 208 kB / 0.8673 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.6883, allocations: 1.427 MB / 0.8686 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007604/0.6891, allocations: 0.5491 MB / 0.8692 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.6907, allocations: 0.999 MB / 0.8702 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.6939, allocations: 2.28 MB / 0.8724 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6939, allocations: 4 kB / 0.8724 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6939, allocations: 0 / 0.8724 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.37e-05/0.6939, allocations: 0 / 0.8724 GB, free: 10.7 MB / 0.6387 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.003884/0.6978, allocations: 2.257 MB / 0.8746 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6979, allocations: 8.031 kB / 0.8746 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.7015, allocations: 0.5089 MB / 0.8751 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.7033, allocations: 1.086 MB / 0.8762 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.853e-05/0.7034, allocations: 127.4 kB / 0.8763 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.7036, allocations: 164 kB / 0.8764 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003245/0.7068, allocations: 1.843 MB / 0.8782 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.7069, allocations: 4 kB / 0.8782 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.707, allocations: 75.98 kB / 0.8783 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.7071, allocations: 40 kB / 0.8784 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/0.7102, allocations: 1.871 MB / 0.8802 GB, free: 2.555 MB / 0.6387 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.007608/0.7178, allocations: 5.171 MB / 0.8852 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.7207, allocations: 1.767 MB / 0.887 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.7218, allocations: 0.652 MB / 0.8876 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008531/0.7226, allocations: 0.8 MB / 0.8884 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/0.7242, allocations: 0.8919 MB / 0.8892 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.657e-06/0.7242, allocations: 0 / 0.8892 GB, free: 8.762 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.005879/0.7301, allocations: 2.548 MB / 0.8917 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.7302, allocations: 197.2 kB / 0.8919 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.7313, allocations: 0.8461 MB / 0.8927 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.7315, allocations: 53.7 kB / 0.8928 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005218/0.732, allocations: 0.6484 MB / 0.8934 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000394/0.7324, allocations: 485 kB / 0.8939 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004026/0.7328, allocations: 258.6 kB / 0.8941 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7329, allocations: 353.9 kB / 0.8945 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009451/0.7339, allocations: 498.3 kB / 0.895 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.735, allocations: 0.6346 MB / 0.8956 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.7371, allocations: 1.118 MB / 0.8967 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7371, allocations: 96 / 0.8967 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00341/0.7405, allocations: 1.565 MB / 0.8982 GB, free: 15.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.7406, allocations: 4 kB / 0.8982 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.7406, allocations: 0 / 0.8982 GB, free: 15.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/0.7415, allocations: 196.2 kB / 0.8984 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.7431, allocations: 335.5 kB / 0.8987 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/0.7487, allocations: 7.282 MB / 0.9058 GB, free: 6.797 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.7502, allocations: 170.8 kB / 0.906 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.7504, allocations: 47.97 kB / 0.906 GB, free: 6.582 MB / 0.67 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.0007746/0.7512, allocations: 379.3 kB / 0.9064 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.7515, allocations: 130.5 kB / 0.9065 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.7555, allocations: 1.846 MB / 0.9083 GB, free: 4.203 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.7555, allocations: 16 kB / 0.9083 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.7555, allocations: 4 kB / 0.9083 GB, free: 4.184 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/0.7555, allocations: 7.969 kB / 0.9083 GB, free: 4.176 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.7612, allocations: 3.45 MB / 0.9117 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.7613, allocations: 0 / 0.9117 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.7627, allocations: 315.6 kB / 0.912 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007278/0.7634, allocations: 184.1 kB / 0.9122 GB, free: 148 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.7635, allocations: 43.95 kB / 0.9122 GB, free: 104 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005451/0.769, allocations: 7.316 MB / 0.9194 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.769, allocations: 7.922 kB / 0.9194 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003705/0.7727, allocations: 1.711 MB / 0.9211 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/0.7734, allocations: 406.9 kB / 0.9214 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.7736, allocations: 28 kB / 0.9215 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.7748, allocations: 121.1 kB / 0.9216 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.7751, allocations: 117.1 kB / 0.9217 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.7752, allocations: 71.94 kB / 0.9218 GB, free: 5.582 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007456/0.776, allocations: 0.5784 MB / 0.9223 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.776, allocations: 0 / 0.9223 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001465/0.7775, allocations: 0.5766 MB / 0.9229 GB, free: 4.414 MB / 0.6856 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.001654/0.7791, allocations: 0.7267 MB / 0.9236 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004875/0.784, allocations: 2.305 MB / 0.9258 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.784, allocations: 0.5625 kB / 0.9259 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.7859, allocations: 1.305 MB / 0.9271 GB, free: 132 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.7881, allocations: 0.5101 MB / 0.9276 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006159/0.7943, allocations: 3.721 MB / 0.9313 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007936/0.7951, allocations: 1.296 MB / 0.9325 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005827/0.7957, allocations: 175.3 kB / 0.9327 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of SimCode: time 6.71e-07/0.7957, allocations: 4 kB / 0.9327 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of Templates: time 0.3403/1.136, allocations: 57.22 MB / 0.9886 GB, free: 233.1 MB / 0.7169 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)