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.00111/0.00111, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.000988/0.000988, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 274.1 kB / 291.4 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.9604/0.9604, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 96.45 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1557, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4602/0.6159, allocations: 176 MB / 0.8535 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01364/0.6296, allocations: 10.85 MB / 0.8641 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009573/0.6306, allocations: 31.88 kB / 0.8641 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009444/0.6316, allocations: 396.8 kB / 0.8645 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.6341, allocations: 1.057 MB / 0.8655 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.6378, allocations: 1.696 MB / 0.8672 GB, free: 420 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002342/0.6402, allocations: 2.292 MB / 0.8694 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.6418, allocations: 1.443 MB / 0.8708 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.6445, allocations: 1.258 MB / 0.872 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.6456, allocations: 0.7896 MB / 0.8728 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.6459, allocations: 156 kB / 0.873 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003348/0.6492, allocations: 1.408 MB / 0.8743 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.6496, allocations: 458.6 kB / 0.8748 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.6505, allocations: 0.7618 MB / 0.8755 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.6539, allocations: 2.559 MB / 0.878 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6539, allocations: 0 / 0.878 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6539, allocations: 0 / 0.878 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.6539, allocations: 0 / 0.878 GB, free: 5.262 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.00346/0.6574, allocations: 1.877 MB / 0.8799 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.6575, allocations: 12.03 kB / 0.8799 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.6596, allocations: 353.8 kB / 0.8802 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.6612, allocations: 0.9836 MB / 0.8812 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/0.6613, allocations: 86.33 kB / 0.8812 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.6614, allocations: 116 kB / 0.8814 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.6635, allocations: 1.298 MB / 0.8826 GB, free: 384 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6636, allocations: 4 kB / 0.8826 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.6637, allocations: 52.86 kB / 0.8827 GB, free: 328 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.6637, allocations: 28 kB / 0.8827 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.6659, allocations: 1.449 MB / 0.8841 GB, free: 14.83 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.00564/0.6716, allocations: 3.829 MB / 0.8879 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.6737, allocations: 1.224 MB / 0.8891 GB, free: 9.602 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007426/0.6744, allocations: 452.6 kB / 0.8895 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007317/0.6752, allocations: 421.3 kB / 0.8899 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.6763, allocations: 0.6632 MB / 0.8905 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 2.385e-06/0.6763, allocations: 4 kB / 0.8905 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of matching and sorting (n=106): time 0.004011/0.6803, allocations: 1.602 MB / 0.8921 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.6804, allocations: 200.9 kB / 0.8923 GB, free: 6.125 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6815, allocations: 0.8785 MB / 0.8932 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/0.6816, allocations: 45.7 kB / 0.8932 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.682, allocations: 0.5121 MB / 0.8937 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/0.6822, allocations: 354.9 kB / 0.894 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.6826, allocations: 214.8 kB / 0.8942 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.6827, allocations: 341.9 kB / 0.8946 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.6834, allocations: 382.4 kB / 0.8949 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/0.6843, allocations: 0.5124 MB / 0.8954 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.6858, allocations: 0.8718 MB / 0.8963 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.6858, allocations: 0 / 0.8963 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002433/0.6883, allocations: 1.165 MB / 0.8974 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6883, allocations: 8.125 kB / 0.8974 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6883, allocations: 4 kB / 0.8974 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.6889, allocations: 88.69 kB / 0.8975 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000985/0.6899, allocations: 235.7 kB / 0.8977 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.692, allocations: 1.64 MB / 0.8993 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009255/0.693, allocations: 126.8 kB / 0.8995 GB, free: 14.53 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.6931, allocations: 47.97 kB / 0.8995 GB, free: 14.48 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.0005599/0.6937, allocations: 323.5 kB / 0.8998 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.6939, allocations: 126.5 kB / 0.8999 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/0.6969, allocations: 1.497 MB / 0.9014 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.697, allocations: 15.98 kB / 0.9014 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.697, allocations: 3.938 kB / 0.9014 GB, free: 12.49 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.697, allocations: 7.984 kB / 0.9014 GB, free: 12.48 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.004953/0.7019, allocations: 2.835 MB / 0.9042 GB, free: 9.535 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.702, allocations: 8.188 kB / 0.9042 GB, free: 9.527 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009032/0.7029, allocations: 195.8 kB / 0.9044 GB, free: 9.336 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004459/0.7033, allocations: 76.72 kB / 0.9045 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.88e-05/0.7034, allocations: 35.98 kB / 0.9045 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.7053, allocations: 1.674 MB / 0.9061 GB, free: 7.406 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7053, allocations: 4 kB / 0.9061 GB, free: 7.402 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/0.7087, allocations: 1.866 MB / 0.908 GB, free: 5.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005952/0.7093, allocations: 343.2 kB / 0.9083 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/0.7095, allocations: 24 kB / 0.9083 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/0.7104, allocations: 71.92 kB / 0.9084 GB, free: 5.051 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/0.7106, allocations: 92.81 kB / 0.9085 GB, free: 4.961 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.7107, allocations: 47.97 kB / 0.9085 GB, free: 4.914 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008939/0.7116, allocations: 0.6261 MB / 0.9091 GB, free: 4.277 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7116, allocations: 0 / 0.9091 GB, free: 4.277 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001222/0.7129, allocations: 455 kB / 0.9096 GB, free: 3.832 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.001678/0.7146, allocations: 0.706 MB / 0.9102 GB, free: 3.309 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002218/0.7168, allocations: 1.093 MB / 0.9113 GB, free: 2.203 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7168, allocations: 7.938 kB / 0.9113 GB, free: 2.195 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.718, allocations: 0.6684 MB / 0.912 GB, free: 1.516 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.72, allocations: 0.5139 MB / 0.9125 GB, free: 1.031 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.725, allocations: 2.486 MB / 0.9149 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000806/0.7258, allocations: 1.162 MB / 0.916 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001188/0.727, allocations: 365.7 kB / 0.9164 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.7274, allocations: 131.4 kB / 0.9165 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of SimCode: time 4.41e-07/0.7274, allocations: 0 / 0.9165 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of Templates: time 0.03746/0.7648, allocations: 23.41 MB / 0.9394 GB, free: 5.738 MB / 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)