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.0008656/0.0008657, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006259/0.006259, allocations: 170 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 263 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9492/0.9492, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004073, allocations: 12.59 kB / 0.5986 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.5348/0.6846, allocations: 171.4 MB / 0.8525 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01526/0.6999, allocations: 10.71 MB / 0.863 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001745/0.7017, allocations: 28.44 kB / 0.863 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.7029, allocations: 322 kB / 0.8633 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.7065, allocations: 0.9359 MB / 0.8642 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004303/0.7108, allocations: 1.521 MB / 0.8657 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003227/0.714, allocations: 2.591 MB / 0.8683 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.7162, allocations: 1.235 MB / 0.8695 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/0.7203, allocations: 1.042 MB / 0.8705 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.7216, allocations: 0.6746 MB / 0.8711 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.7218, allocations: 44.12 kB / 0.8712 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.7251, allocations: 1.422 MB / 0.8726 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/0.7255, allocations: 323.4 kB / 0.8729 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.7263, allocations: 0.6481 MB / 0.8735 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003459/0.7298, allocations: 2.446 MB / 0.8759 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7298, allocations: 0 / 0.8759 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7298, allocations: 0 / 0.8759 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.865e-05/0.7298, allocations: 0 / 0.8759 GB, free: 11.52 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.003001/0.7328, allocations: 1.583 MB / 0.8774 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.7329, allocations: 7.844 kB / 0.8775 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.735, allocations: 366.5 kB / 0.8778 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.7364, allocations: 0.9493 MB / 0.8787 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.7365, allocations: 89.14 kB / 0.8788 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.7367, allocations: 116.9 kB / 0.8789 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.7389, allocations: 1.304 MB / 0.8802 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.7389, allocations: 0 / 0.8802 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.7391, allocations: 48 kB / 0.8802 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.7391, allocations: 28 kB / 0.8803 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.7414, allocations: 1.461 MB / 0.8817 GB, free: 6.402 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.005968/0.7474, allocations: 3.895 MB / 0.8855 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.7495, allocations: 1.233 MB / 0.8867 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007964/0.7503, allocations: 461.3 kB / 0.8871 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007577/0.7511, allocations: 437.3 kB / 0.8876 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001156/0.7522, allocations: 0.6684 MB / 0.8882 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=106): time 2.685e-06/0.7523, allocations: 0 / 0.8882 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106): time 0.004071/0.7563, allocations: 1.621 MB / 0.8898 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7565, allocations: 196.9 kB / 0.89 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.7577, allocations: 0.8824 MB / 0.8908 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.7579, allocations: 49.7 kB / 0.8909 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.7583, allocations: 0.5043 MB / 0.8914 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.7586, allocations: 358.9 kB / 0.8917 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.7587, allocations: 85.67 kB / 0.8918 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7589, allocations: 345.9 kB / 0.8921 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007409/0.7596, allocations: 394.3 kB / 0.8925 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.7605, allocations: 0.5124 MB / 0.893 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.7621, allocations: 0.8796 MB / 0.8939 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.7621, allocations: 4 kB / 0.8939 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002588/0.7647, allocations: 1.169 MB / 0.895 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.7647, allocations: 15.92 kB / 0.895 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.7648, allocations: 0 / 0.895 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.7654, allocations: 84.88 kB / 0.8951 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009822/0.7663, allocations: 231.7 kB / 0.8953 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001949/0.7683, allocations: 1.549 MB / 0.8969 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.7695, allocations: 150.5 kB / 0.897 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/0.7696, allocations: 43.97 kB / 0.897 GB, free: 6.105 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.0006549/0.7702, allocations: 327.9 kB / 0.8973 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.7705, allocations: 122.6 kB / 0.8975 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.7735, allocations: 1.509 MB / 0.8989 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.7735, allocations: 12 kB / 0.899 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7735, allocations: 4 kB / 0.899 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.7735, allocations: 7.922 kB / 0.899 GB, free: 4.102 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.004599/0.7781, allocations: 2.838 MB / 0.9017 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.7781, allocations: 0 / 0.9017 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008508/0.779, allocations: 203.7 kB / 0.9019 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.7795, allocations: 88.95 kB / 0.902 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.7796, allocations: 31.98 kB / 0.902 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.7813, allocations: 1.563 MB / 0.9036 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.7814, allocations: 0 / 0.9036 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003433/0.7848, allocations: 1.876 MB / 0.9054 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/0.7854, allocations: 367.1 kB / 0.9058 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.7856, allocations: 27.94 kB / 0.9058 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009173/0.7865, allocations: 105.3 kB / 0.9059 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.7867, allocations: 88.88 kB / 0.906 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.513e-05/0.7868, allocations: 43.97 kB / 0.906 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009222/0.7878, allocations: 0.63 MB / 0.9066 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.61e-07/0.7878, allocations: 3.938 kB / 0.9066 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001443/0.7892, allocations: 455 kB / 0.9071 GB, free: 11.5 MB / 0.6231 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.001714/0.791, allocations: 0.7001 MB / 0.9077 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.7932, allocations: 1.097 MB / 0.9088 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.7932, allocations: 0 / 0.9088 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.7944, allocations: 0.6646 MB / 0.9095 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.797, allocations: 496.5 kB / 0.9099 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/0.8025, allocations: 3.142 MB / 0.913 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.8032, allocations: 1.166 MB / 0.9141 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001442/0.8047, allocations: 373.6 kB / 0.9145 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/0.805, allocations: 135.4 kB / 0.9146 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.805, allocations: 0 / 0.9146 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of Templates: time 0.03916/0.8442, allocations: 22.34 MB / 0.9364 GB, free: 13.78 MB / 0.6544 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)