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.001324/0.001324, allocations: 108.1 kB / 15.99 MB, free: 6.355 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.001306/0.001306, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.255/1.255, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002024, allocations: 286 kB / 291 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.891/0.891, allocations: 169.2 MB / 0.4985 GB, free: 4.621 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 93.7 kB / 0.5953 GB, free: 15.51 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1616, allocations: 86.98 MB / 0.6803 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4661/0.6277, allocations: 173.7 MB / 0.8498 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.6408, allocations: 10.72 MB / 0.8603 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009303/0.6417, allocations: 35.81 kB / 0.8603 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.6427, allocations: 325.9 kB / 0.8607 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.6452, allocations: 0.9617 MB / 0.8616 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.6487, allocations: 1.547 MB / 0.8631 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002129/0.6509, allocations: 2.299 MB / 0.8654 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.6525, allocations: 1.424 MB / 0.8667 GB, free: 324 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.6557, allocations: 1.257 MB / 0.868 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.6566, allocations: 0.8091 MB / 0.8688 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.6567, allocations: 156 kB / 0.8689 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.659, allocations: 1.415 MB / 0.8703 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.6594, allocations: 454.6 kB / 0.8707 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.66, allocations: 0.7696 MB / 0.8715 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.662, allocations: 1.887 MB / 0.8733 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6621, allocations: 0 / 0.8733 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6621, allocations: 0 / 0.8733 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.134e-05/0.6621, allocations: 4 kB / 0.8733 GB, free: 9.586 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.002917/0.665, allocations: 1.873 MB / 0.8752 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6651, allocations: 15.97 kB / 0.8752 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.6671, allocations: 349.9 kB / 0.8755 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.6684, allocations: 0.9446 MB / 0.8764 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.6685, allocations: 90.27 kB / 0.8765 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6687, allocations: 116 kB / 0.8766 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.6708, allocations: 1.302 MB / 0.8779 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6708, allocations: 0 / 0.8779 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.6709, allocations: 48 kB / 0.8779 GB, free: 4.688 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.6709, allocations: 32 kB / 0.878 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/0.6732, allocations: 1.453 MB / 0.8794 GB, free: 3.195 MB / 0.6387 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.005342/0.6785, allocations: 3.856 MB / 0.8832 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.6806, allocations: 1.216 MB / 0.8843 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.6813, allocations: 456.6 kB / 0.8848 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007139/0.682, allocations: 425.2 kB / 0.8852 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.6831, allocations: 0.6606 MB / 0.8858 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=106): time 2.264e-06/0.6831, allocations: 0 / 0.8858 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=106): time 0.003797/0.6869, allocations: 1.61 MB / 0.8874 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.687, allocations: 192.9 kB / 0.8876 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.6881, allocations: 0.8901 MB / 0.8885 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.172e-05/0.6882, allocations: 49.7 kB / 0.8885 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.6885, allocations: 0.5082 MB / 0.889 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.6888, allocations: 350.9 kB / 0.8893 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/0.6891, allocations: 214.8 kB / 0.8895 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.6892, allocations: 341.9 kB / 0.8899 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.6899, allocations: 386.4 kB / 0.8902 GB, free: 7.695 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008289/0.6908, allocations: 0.5072 MB / 0.8907 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.6923, allocations: 0.8679 MB / 0.8916 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6923, allocations: 0 / 0.8916 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002365/0.6946, allocations: 1.169 MB / 0.8927 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6947, allocations: 4 kB / 0.8927 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6947, allocations: 4 kB / 0.8927 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/0.6953, allocations: 84.86 kB / 0.8928 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/0.6963, allocations: 235.6 kB / 0.893 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.6983, allocations: 1.646 MB / 0.8946 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.6992, allocations: 142.9 kB / 0.8948 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-05/0.6993, allocations: 43.97 kB / 0.8948 GB, free: 2.801 MB / 0.6544 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.0004862/0.6998, allocations: 328.1 kB / 0.8951 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.7, allocations: 126.5 kB / 0.8952 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.703, allocations: 1.493 MB / 0.8967 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.703, allocations: 15.94 kB / 0.8967 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.703, allocations: 0 / 0.8967 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.703, allocations: 11.98 kB / 0.8967 GB, free: 0.8086 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 postOpt removeSimpleEquations (simulation): time 0.004429/0.7075, allocations: 2.838 MB / 0.8995 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7075, allocations: 3.938 kB / 0.8995 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.7084, allocations: 195.8 kB / 0.8997 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.7088, allocations: 80.8 kB / 0.8998 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/0.7089, allocations: 39.91 kB / 0.8998 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.7106, allocations: 1.674 MB / 0.9014 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7107, allocations: 80 / 0.9014 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.7139, allocations: 1.86 MB / 0.9033 GB, free: 9.832 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/0.7143, allocations: 339.3 kB / 0.9036 GB, free: 9.48 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.7145, allocations: 27.98 kB / 0.9036 GB, free: 9.453 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.7154, allocations: 90.36 kB / 0.9037 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.7156, allocations: 92.75 kB / 0.9038 GB, free: 9.277 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.7157, allocations: 51.97 kB / 0.9038 GB, free: 9.227 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007629/0.7164, allocations: 0.6222 MB / 0.9044 GB, free: 8.594 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7165, allocations: 0 / 0.9044 GB, free: 8.594 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001104/0.7176, allocations: 459 kB / 0.9049 GB, free: 8.145 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.001535/0.7191, allocations: 0.7095 MB / 0.9056 GB, free: 7.613 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002882/0.722, allocations: 1.366 MB / 0.9069 GB, free: 6.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.722, allocations: 7.938 kB / 0.9069 GB, free: 6.223 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.7231, allocations: 0.6529 MB / 0.9076 GB, free: 5.559 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.7251, allocations: 0.515 MB / 0.9081 GB, free: 5.078 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.73, allocations: 3.085 MB / 0.9111 GB, free: 1.941 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007163/0.7308, allocations: 1.158 MB / 0.9122 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004262/0.7312, allocations: 155.4 kB / 0.9123 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.7312, allocations: 0 / 0.9123 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of Templates: time 0.03123/0.7624, allocations: 26.7 MB / 0.9384 GB, free: 6.043 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)