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.001023/0.001023, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001004/0.001004, allocations: 196.4 kB / 17.31 MB, free: 5.824 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002219/0.002219, allocations: 290.7 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9703/0.9703, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 95.36 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1629, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4897/0.6527, allocations: 167 MB / 0.8447 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.6747, allocations: 16.94 MB / 0.8613 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.676, allocations: 31.81 kB / 0.8613 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.6775, allocations: 0.5041 MB / 0.8618 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.6816, allocations: 1.509 MB / 0.8633 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.6848, allocations: 1.314 MB / 0.8645 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.6878, allocations: 2.502 MB / 0.867 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.6904, allocations: 1.938 MB / 0.8689 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003532/0.694, allocations: 1.311 MB / 0.8702 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.6954, allocations: 0.9529 MB / 0.8711 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.6957, allocations: 208 kB / 0.8713 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.6984, allocations: 1.423 MB / 0.8727 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004706/0.6989, allocations: 0.5569 MB / 0.8732 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009266/0.6998, allocations: 0.995 MB / 0.8742 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003674/0.7035, allocations: 3.045 MB / 0.8772 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7035, allocations: 0 / 0.8772 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7035, allocations: 0 / 0.8772 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.976e-05/0.7036, allocations: 4 kB / 0.8772 GB, free: 6.141 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.003692/0.7073, allocations: 2.257 MB / 0.8794 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.7073, allocations: 8.031 kB / 0.8794 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.7107, allocations: 0.505 MB / 0.8799 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.7126, allocations: 1.117 MB / 0.881 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.7127, allocations: 135.4 kB / 0.8811 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.7129, allocations: 164 kB / 0.8813 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.7159, allocations: 1.839 MB / 0.8831 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.716, allocations: 0 / 0.8831 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.7161, allocations: 76 kB / 0.8831 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.7162, allocations: 40 kB / 0.8832 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.7194, allocations: 1.878 MB / 0.885 GB, free: 13.96 MB / 0.6544 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.007577/0.7269, allocations: 5.124 MB / 0.89 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.7299, allocations: 1.776 MB / 0.8917 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.731, allocations: 0.6476 MB / 0.8924 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008322/0.7319, allocations: 0.8038 MB / 0.8932 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/0.7334, allocations: 0.8918 MB / 0.894 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.036e-06/0.7334, allocations: 0 / 0.894 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.005919/0.7393, allocations: 2.556 MB / 0.8965 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.7395, allocations: 197.2 kB / 0.8967 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.7405, allocations: 0.8461 MB / 0.8975 GB, free: 448 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.7406, allocations: 57.7 kB / 0.8976 GB, free: 384 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.7411, allocations: 0.6407 MB / 0.8982 GB, free: 15.72 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.7414, allocations: 485 kB / 0.8987 GB, free: 15.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.7418, allocations: 258.7 kB / 0.8989 GB, free: 14.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.742, allocations: 353.9 kB / 0.8993 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009646/0.7429, allocations: 0.4944 MB / 0.8997 GB, free: 14.14 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.7441, allocations: 0.6346 MB / 0.9004 GB, free: 13.47 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.7461, allocations: 1.118 MB / 0.9015 GB, free: 12.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7461, allocations: 0 / 0.9015 GB, free: 12.34 MB / 0.67 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003337/0.7495, allocations: 1.554 MB / 0.903 GB, free: 10.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.7495, allocations: 4 kB / 0.903 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7495, allocations: 0 / 0.903 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008988/0.7504, allocations: 196.2 kB / 0.9032 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.7519, allocations: 339.5 kB / 0.9035 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005465/0.7574, allocations: 7.271 MB / 0.9106 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.7587, allocations: 158.8 kB / 0.9107 GB, free: 2.094 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.7588, allocations: 51.97 kB / 0.9108 GB, free: 2.043 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.0006971/0.7595, allocations: 371.5 kB / 0.9111 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/0.7598, allocations: 138.5 kB / 0.9113 GB, free: 1.535 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003934/0.7638, allocations: 1.839 MB / 0.9131 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.7638, allocations: 16 kB / 0.9131 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.7638, allocations: 4 kB / 0.9131 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.7638, allocations: 7.969 kB / 0.9131 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005678/0.7695, allocations: 3.44 MB / 0.9165 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7695, allocations: 7.984 kB / 0.9165 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.7709, allocations: 315.5 kB / 0.9168 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/0.7717, allocations: 176.2 kB / 0.9169 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.982e-05/0.7718, allocations: 43.95 kB / 0.917 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005425/0.7772, allocations: 7.327 MB / 0.9241 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7772, allocations: 0 / 0.9241 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/0.7811, allocations: 1.709 MB / 0.9258 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/0.782, allocations: 402.9 kB / 0.9262 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.7822, allocations: 28 kB / 0.9262 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.7834, allocations: 108.4 kB / 0.9263 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002879/0.7837, allocations: 109.2 kB / 0.9264 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.7839, allocations: 75.94 kB / 0.9265 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008899/0.7848, allocations: 0.5784 MB / 0.9271 GB, free: 500 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1.252e-06/0.7848, allocations: 3.938 kB / 0.9271 GB, free: 496 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001758/0.7865, allocations: 0.5804 MB / 0.9276 GB, free: 15.9 MB / 0.7012 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.001785/0.7883, allocations: 0.7139 MB / 0.9283 GB, free: 15.37 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.7918, allocations: 1.871 MB / 0.9302 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.7919, allocations: 8.5 kB / 0.9302 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002054/0.7939, allocations: 1.301 MB / 0.9314 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.796, allocations: 0.5077 MB / 0.9319 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007029/0.803, allocations: 2.863 MB / 0.9347 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.8041, allocations: 1.3 MB / 0.936 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001392/0.8055, allocations: 438 kB / 0.9364 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/0.8059, allocations: 159.3 kB / 0.9366 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of SimCode: time 6.21e-07/0.8059, allocations: 3.938 kB / 0.9366 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of Templates: time 0.298/1.104, allocations: 26.88 MB / 0.9628 GB, free: 242.4 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)