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.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001993/0.001993, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002603/0.002603, allocations: 278.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 99.77 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1771, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.5406/0.7177, allocations: 174.2 MB / 0.8629 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.735, allocations: 10.93 MB / 0.8736 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.7368, allocations: 32.25 kB / 0.8736 GB, free: 44 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.7382, allocations: 330.8 kB / 0.8739 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.7416, allocations: 0.9814 MB / 0.8749 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.7456, allocations: 1.531 MB / 0.8764 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00314/0.7488, allocations: 2.669 MB / 0.879 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.7508, allocations: 1.27 MB / 0.8802 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.7548, allocations: 1.131 MB / 0.8813 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.7559, allocations: 0.7934 MB / 0.8821 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.7561, allocations: 76 kB / 0.8822 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.7591, allocations: 1.45 MB / 0.8836 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.7595, allocations: 386.5 kB / 0.884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000832/0.7604, allocations: 0.7149 MB / 0.8847 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00332/0.7637, allocations: 2.52 MB / 0.8871 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.7637, allocations: 4 kB / 0.8871 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7637, allocations: 0 / 0.8871 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.7637, allocations: 0 / 0.8871 GB, free: 5.07 MB / 0.6075 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.003647/0.7674, allocations: 1.876 MB / 0.889 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.7674, allocations: 16.02 kB / 0.889 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.7697, allocations: 349.8 kB / 0.8893 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.7713, allocations: 0.9447 MB / 0.8902 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/0.7714, allocations: 94.33 kB / 0.8903 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.7716, allocations: 112 kB / 0.8904 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.7741, allocations: 1.302 MB / 0.8917 GB, free: 220 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.7742, allocations: 3.938 kB / 0.8917 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.7743, allocations: 52 kB / 0.8918 GB, free: 164 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.7743, allocations: 28 kB / 0.8918 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.777, allocations: 1.453 MB / 0.8932 GB, free: 14.67 MB / 0.6231 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.006798/0.7838, allocations: 4.061 MB / 0.8972 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.7863, allocations: 1.214 MB / 0.8984 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008764/0.7872, allocations: 449.1 kB / 0.8988 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008688/0.7881, allocations: 429.3 kB / 0.8992 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.7896, allocations: 0.6605 MB / 0.8998 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=106): time 2.896e-06/0.7896, allocations: 0 / 0.8998 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106): time 0.004632/0.7942, allocations: 1.614 MB / 0.9014 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.7944, allocations: 196.9 kB / 0.9016 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.7959, allocations: 0.8824 MB / 0.9025 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.7961, allocations: 49.7 kB / 0.9025 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.7966, allocations: 0.5043 MB / 0.903 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.797, allocations: 362.9 kB / 0.9034 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.7974, allocations: 214.7 kB / 0.9036 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7976, allocations: 345.9 kB / 0.9039 GB, free: 3.285 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/0.7984, allocations: 382.4 kB / 0.9043 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.7994, allocations: 0.5085 MB / 0.9048 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.8012, allocations: 0.8718 MB / 0.9056 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8012, allocations: 0 / 0.9056 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003219/0.8044, allocations: 1.168 MB / 0.9067 GB, free: 320 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.8045, allocations: 4 kB / 0.9068 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8045, allocations: 0 / 0.9068 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006657/0.8052, allocations: 84.88 kB / 0.9068 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.8063, allocations: 231.7 kB / 0.9071 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/0.8089, allocations: 1.535 MB / 0.9086 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.8102, allocations: 139 kB / 0.9087 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.8103, allocations: 43.97 kB / 0.9087 GB, free: 14.14 MB / 0.6387 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.0007934/0.8111, allocations: 328.2 kB / 0.909 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.8114, allocations: 118.6 kB / 0.9092 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.815, allocations: 1.506 MB / 0.9106 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.815, allocations: 12 kB / 0.9106 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.815, allocations: 4 kB / 0.9106 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.815, allocations: 7.969 kB / 0.9106 GB, free: 12.14 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 postOpt removeSimpleEquations (simulation): time 0.005531/0.8206, allocations: 2.834 MB / 0.9134 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.8206, allocations: 3.984 kB / 0.9134 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009935/0.8216, allocations: 203.7 kB / 0.9136 GB, free: 9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005563/0.8222, allocations: 80.94 kB / 0.9137 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.8223, allocations: 35.97 kB / 0.9137 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.8244, allocations: 1.563 MB / 0.9153 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.8244, allocations: 12 kB / 0.9153 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/0.8284, allocations: 1.864 MB / 0.9171 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008018/0.8292, allocations: 343.3 kB / 0.9174 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.8295, allocations: 31.92 kB / 0.9174 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.8305, allocations: 92.47 kB / 0.9175 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.8308, allocations: 80.88 kB / 0.9176 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.8309, allocations: 51.97 kB / 0.9177 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001021/0.8319, allocations: 0.6222 MB / 0.9183 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8319, allocations: 0 / 0.9183 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001425/0.8334, allocations: 463.1 kB / 0.9187 GB, free: 3.57 MB / 0.6387 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.002316/0.8357, allocations: 0.7006 MB / 0.9194 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002484/0.8382, allocations: 1.093 MB / 0.9205 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8382, allocations: 4.062 kB / 0.9205 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/0.8396, allocations: 0.6562 MB / 0.9211 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.8419, allocations: 498.2 kB / 0.9216 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.8468, allocations: 2.938 MB / 0.9244 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.8477, allocations: 1.162 MB / 0.9256 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001405/0.8491, allocations: 373.7 kB / 0.9259 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.8495, allocations: 127.4 kB / 0.9261 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.8496, allocations: 0 / 0.9261 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.04264/0.8922, allocations: 22.87 MB / 0.9484 GB, free: 5.574 MB / 0.67 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)