Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, 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.001372/0.001372, allocations: 194.7 kB / 16.25 MB, free: 6.625 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002226, allocations: 282.5 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 89.3 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1715, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.5303/0.7018, allocations: 173.7 MB / 0.8492 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.7174, allocations: 10.71 MB / 0.8597 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.7192, allocations: 31.75 kB / 0.8597 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.7206, allocations: 332.2 kB / 0.86 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.7237, allocations: 0.9572 MB / 0.8609 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.7277, allocations: 1.547 MB / 0.8625 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.7302, allocations: 2.297 MB / 0.8647 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.7319, allocations: 1.431 MB / 0.8661 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.7353, allocations: 1.243 MB / 0.8673 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009284/0.7363, allocations: 0.815 MB / 0.8681 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.7364, allocations: 156 kB / 0.8683 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.7389, allocations: 1.416 MB / 0.8696 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.7393, allocations: 460 kB / 0.8701 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006692/0.74, allocations: 0.7693 MB / 0.8708 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.7432, allocations: 2.563 MB / 0.8733 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7433, allocations: 4 kB / 0.8733 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7433, allocations: 4 kB / 0.8733 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.7433, allocations: 0 / 0.8733 GB, free: 12.4 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003049/0.7464, allocations: 1.871 MB / 0.8752 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.7464, allocations: 9.812 kB / 0.8752 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/0.7485, allocations: 350.7 kB / 0.8755 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7498, allocations: 0.9481 MB / 0.8764 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/0.7499, allocations: 90.64 kB / 0.8765 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.75, allocations: 111.5 kB / 0.8766 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.7521, allocations: 1.296 MB / 0.8779 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.7521, allocations: 0 / 0.8779 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.7522, allocations: 52.78 kB / 0.8779 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.7523, allocations: 32.38 kB / 0.878 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002119/0.7544, allocations: 1.447 MB / 0.8794 GB, free: 8.426 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.005515/0.7599, allocations: 3.878 MB / 0.8832 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.7619, allocations: 1.212 MB / 0.8844 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.7626, allocations: 457.8 kB / 0.8848 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006951/0.7633, allocations: 429.6 kB / 0.8852 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.7644, allocations: 0.6539 MB / 0.8858 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.825e-06/0.7644, allocations: 0 / 0.8858 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.00396/0.7684, allocations: 1.608 MB / 0.8874 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.927e-05/0.7685, allocations: 188.9 kB / 0.8876 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.7696, allocations: 0.8902 MB / 0.8885 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.7697, allocations: 45.7 kB / 0.8885 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.7701, allocations: 0.516 MB / 0.889 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.7704, allocations: 350.9 kB / 0.8894 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.7708, allocations: 206.8 kB / 0.8895 GB, free: 324 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.771, allocations: 345.9 kB / 0.8899 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.7717, allocations: 386.4 kB / 0.8902 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.7725, allocations: 0.5106 MB / 0.8907 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.774, allocations: 0.8718 MB / 0.8916 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.774, allocations: 4 kB / 0.8916 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002528/0.7766, allocations: 1.165 MB / 0.8927 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.7766, allocations: 4 kB / 0.8927 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7766, allocations: 4 kB / 0.8927 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.7772, allocations: 88.8 kB / 0.8928 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009984/0.7782, allocations: 231.7 kB / 0.8931 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.7803, allocations: 1.641 MB / 0.8947 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.7814, allocations: 141.6 kB / 0.8948 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.7815, allocations: 47.97 kB / 0.8948 GB, free: 10.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006136/0.7822, allocations: 332.1 kB / 0.8952 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/0.7825, allocations: 118.5 kB / 0.8953 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.7855, allocations: 1.496 MB / 0.8967 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7856, allocations: 15.94 kB / 0.8967 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7856, allocations: 4 kB / 0.8967 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.7856, allocations: 7.969 kB / 0.8968 GB, free: 8.711 MB / 0.6075 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 postOpt removeSimpleEquations (simulation): time 0.004972/0.7906, allocations: 2.838 MB / 0.8995 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.7906, allocations: 7.984 kB / 0.8995 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000924/0.7915, allocations: 199.7 kB / 0.8997 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.792, allocations: 72.92 kB / 0.8998 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.872e-05/0.7921, allocations: 35.97 kB / 0.8998 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.794, allocations: 1.674 MB / 0.9015 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.794, allocations: 4 kB / 0.9015 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/0.7977, allocations: 1.872 MB / 0.9033 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.7983, allocations: 339.3 kB / 0.9036 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.7986, allocations: 27.91 kB / 0.9036 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.7996, allocations: 87.91 kB / 0.9037 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7998, allocations: 84.83 kB / 0.9038 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.7999, allocations: 51.97 kB / 0.9039 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008409/0.8007, allocations: 0.6261 MB / 0.9045 GB, free: 500 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8007, allocations: 0 / 0.9045 GB, free: 500 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001169/0.8019, allocations: 447 kB / 0.9049 GB, free: 52 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/0.8036, allocations: 0.7128 MB / 0.9056 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003104/0.8067, allocations: 1.366 MB / 0.9069 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.8067, allocations: 0 / 0.9069 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.808, allocations: 0.6646 MB / 0.9076 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.8101, allocations: 0.5133 MB / 0.9081 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.8152, allocations: 3.033 MB / 0.911 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/0.816, allocations: 1.166 MB / 0.9122 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001292/0.8173, allocations: 373.7 kB / 0.9125 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.8177, allocations: 135.4 kB / 0.9127 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of SimCode: time 4.61e-07/0.8177, allocations: 0 / 0.9127 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of Templates: time 0.04022/0.8579, allocations: 23.29 MB / 0.9354 GB, free: 1.223 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)