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.001471/0.001471, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001447/0.001447, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 294.1 kB / 291 MB, free: 14.74 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.164/1.164, allocations: 178.5 MB / 0.5076 GB, free: 12.67 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 99.83 kB / 0.6066 GB, free: 9.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1756, allocations: 89.14 MB / 0.6936 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.467/0.6427, allocations: 174.2 MB / 0.8637 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.6576, allocations: 10.77 MB / 0.8742 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.6588, allocations: 27.88 kB / 0.8742 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.6599, allocations: 341.8 kB / 0.8746 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.663, allocations: 0.9871 MB / 0.8755 GB, free: 328 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004031/0.667, allocations: 1.569 MB / 0.8771 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.67, allocations: 2.373 MB / 0.8794 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.672, allocations: 1.391 MB / 0.8807 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003788/0.6758, allocations: 1.256 MB / 0.882 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00107/0.6769, allocations: 0.8247 MB / 0.8828 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.6772, allocations: 156 kB / 0.8829 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.6799, allocations: 1.423 MB / 0.8843 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000441/0.6804, allocations: 458.6 kB / 0.8848 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008795/0.6813, allocations: 0.7891 MB / 0.8855 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.6839, allocations: 1.902 MB / 0.8874 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6839, allocations: 0 / 0.8874 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6839, allocations: 0 / 0.8874 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.6839, allocations: 3.984 kB / 0.8874 GB, free: 4.16 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003349/0.6873, allocations: 1.883 MB / 0.8892 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6874, allocations: 12.03 kB / 0.8892 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.6895, allocations: 353.8 kB / 0.8896 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.691, allocations: 0.9486 MB / 0.8905 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.6911, allocations: 89.89 kB / 0.8906 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.6912, allocations: 116 kB / 0.8907 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.6936, allocations: 1.294 MB / 0.892 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.6936, allocations: 0 / 0.892 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.6938, allocations: 48 kB / 0.892 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.6938, allocations: 35.88 kB / 0.892 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.6963, allocations: 1.457 MB / 0.8935 GB, free: 13.76 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.0063/0.7026, allocations: 4.058 MB / 0.8974 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.7049, allocations: 1.207 MB / 0.8986 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/0.7057, allocations: 453.7 kB / 0.899 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007676/0.7065, allocations: 425.3 kB / 0.8994 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.7077, allocations: 0.6644 MB / 0.9001 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 2.445e-06/0.7077, allocations: 0 / 0.9001 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of matching and sorting (n=106): time 0.004035/0.7117, allocations: 1.598 MB / 0.9017 GB, free: 5.027 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.7119, allocations: 196.9 kB / 0.9018 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.7131, allocations: 0.8862 MB / 0.9027 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.247e-05/0.7132, allocations: 45.7 kB / 0.9027 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/0.7136, allocations: 0.5083 MB / 0.9032 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.714, allocations: 362.9 kB / 0.9036 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003808/0.7144, allocations: 214.7 kB / 0.9038 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.7146, allocations: 349.9 kB / 0.9041 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007475/0.7153, allocations: 382.3 kB / 0.9045 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008947/0.7162, allocations: 0.5046 MB / 0.905 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.7178, allocations: 0.8757 MB / 0.9058 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7178, allocations: 0 / 0.9058 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002609/0.7204, allocations: 1.161 MB / 0.907 GB, free: 15.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.7205, allocations: 12.16 kB / 0.907 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7205, allocations: 0 / 0.907 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/0.7211, allocations: 84.77 kB / 0.9071 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/0.7221, allocations: 231.7 kB / 0.9073 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.7244, allocations: 1.651 MB / 0.9089 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.7254, allocations: 137.5 kB / 0.909 GB, free: 13.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.7255, allocations: 47.97 kB / 0.9091 GB, free: 13.12 MB / 0.67 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.0005969/0.7262, allocations: 323.5 kB / 0.9094 GB, free: 12.79 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002259/0.7264, allocations: 126.4 kB / 0.9095 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.7295, allocations: 1.508 MB / 0.911 GB, free: 11.15 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7296, allocations: 12 kB / 0.911 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7296, allocations: 3.984 kB / 0.911 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.7296, allocations: 7.984 kB / 0.911 GB, free: 11.13 MB / 0.67 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.004854/0.7344, allocations: 2.832 MB / 0.9138 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7345, allocations: 0 / 0.9138 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/0.7354, allocations: 203.9 kB / 0.914 GB, free: 7.992 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.7358, allocations: 68.8 kB / 0.914 GB, free: 7.922 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.039e-05/0.7359, allocations: 35.97 kB / 0.9141 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.738, allocations: 1.694 MB / 0.9157 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.738, allocations: 3.938 kB / 0.9157 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.7415, allocations: 1.86 MB / 0.9175 GB, free: 4.145 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/0.742, allocations: 339.3 kB / 0.9179 GB, free: 3.793 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.7422, allocations: 27.94 kB / 0.9179 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009045/0.7431, allocations: 92.5 kB / 0.918 GB, free: 3.676 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/0.7433, allocations: 84.83 kB / 0.9181 GB, free: 3.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.715e-05/0.7434, allocations: 47.97 kB / 0.9181 GB, free: 3.543 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008991/0.7443, allocations: 0.6261 MB / 0.9187 GB, free: 2.906 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7443, allocations: 4 kB / 0.9187 GB, free: 2.902 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001225/0.7455, allocations: 463.1 kB / 0.9192 GB, free: 2.449 MB / 0.67 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.00217/0.7477, allocations: 0.698 MB / 0.9198 GB, free: 1.941 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003202/0.7509, allocations: 1.377 MB / 0.9212 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.751, allocations: 0 / 0.9212 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.7522, allocations: 0.6562 MB / 0.9218 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.7546, allocations: 0.5243 MB / 0.9223 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00472/0.7593, allocations: 2.975 MB / 0.9252 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.7602, allocations: 1.161 MB / 0.9264 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.7606, allocations: 155.3 kB / 0.9265 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/0.7606, allocations: 0 / 0.9265 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of Templates: time 0.04041/0.8011, allocations: 26.86 MB / 0.9528 GB, free: 316 kB / 0.7012 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)