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.001043/0.001043, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001188/0.001188, allocations: 191.1 kB / 16.14 MB, free: 6.707 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.341/1.341, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 286.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9655/0.9655, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 91.86 kB / 0.5945 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1548, allocations: 86.99 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.5107/0.6656, allocations: 173.7 MB / 0.8491 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.6798, allocations: 10.86 MB / 0.8597 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.6813, allocations: 28.94 kB / 0.8597 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.6825, allocations: 316.4 kB / 0.86 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.6853, allocations: 0.9523 MB / 0.861 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.6891, allocations: 1.515 MB / 0.8624 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003019/0.6921, allocations: 2.593 MB / 0.865 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.694, allocations: 1.302 MB / 0.8662 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.6977, allocations: 1.121 MB / 0.8673 GB, free: 228 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009822/0.6987, allocations: 0.7786 MB / 0.8681 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.6989, allocations: 77.56 kB / 0.8682 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002932/0.7018, allocations: 1.462 MB / 0.8696 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.7022, allocations: 383.2 kB / 0.87 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007589/0.703, allocations: 0.6886 MB / 0.8706 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/0.7066, allocations: 2.493 MB / 0.8731 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7066, allocations: 0 / 0.8731 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7066, allocations: 0 / 0.8731 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.941e-05/0.7067, allocations: 0 / 0.8731 GB, free: 12.48 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.003643/0.7103, allocations: 1.874 MB / 0.8749 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.7104, allocations: 7.375 kB / 0.8749 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.7127, allocations: 350.8 kB / 0.8753 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.7142, allocations: 0.9525 MB / 0.8762 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/0.7143, allocations: 86.11 kB / 0.8763 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.7145, allocations: 117.8 kB / 0.8764 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.7167, allocations: 1.301 MB / 0.8776 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.7168, allocations: 0 / 0.8776 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.7169, allocations: 49 kB / 0.8777 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.7169, allocations: 27.5 kB / 0.8777 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.7192, allocations: 1.452 MB / 0.8791 GB, free: 8.492 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.005941/0.7252, allocations: 3.855 MB / 0.8829 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.7274, allocations: 1.223 MB / 0.8841 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.7281, allocations: 456.9 kB / 0.8845 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000731/0.7288, allocations: 426.8 kB / 0.8849 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/0.7299, allocations: 0.6557 MB / 0.8856 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.956e-06/0.73, allocations: 4 kB / 0.8856 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.004019/0.734, allocations: 1.605 MB / 0.8871 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.7341, allocations: 192.9 kB / 0.8873 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.7353, allocations: 0.8824 MB / 0.8882 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/0.7354, allocations: 49.7 kB / 0.8882 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.7359, allocations: 0.512 MB / 0.8887 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.7362, allocations: 354.9 kB / 0.8891 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.7366, allocations: 218.8 kB / 0.8893 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7367, allocations: 345.9 kB / 0.8896 GB, free: 260 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.7375, allocations: 378.4 kB / 0.89 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.7384, allocations: 0.5163 MB / 0.8905 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.74, allocations: 0.864 MB / 0.8913 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.74, allocations: 4 kB / 0.8913 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002615/0.7427, allocations: 1.161 MB / 0.8925 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.7427, allocations: 9.406 kB / 0.8925 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7427, allocations: 4.094 kB / 0.8925 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/0.7433, allocations: 80.77 kB / 0.8926 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.7444, allocations: 243.5 kB / 0.8928 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.7465, allocations: 1.537 MB / 0.8943 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.7477, allocations: 138.9 kB / 0.8944 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.7478, allocations: 47.97 kB / 0.8945 GB, free: 11.1 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.0006381/0.7485, allocations: 324 kB / 0.8948 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.7487, allocations: 114.6 kB / 0.8949 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.7519, allocations: 1.501 MB / 0.8964 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.7519, allocations: 12 kB / 0.8964 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.7519, allocations: 4 kB / 0.8964 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.7519, allocations: 11.97 kB / 0.8964 GB, free: 9.109 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.00497/0.7569, allocations: 2.838 MB / 0.8991 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7569, allocations: 0 / 0.8991 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000938/0.7579, allocations: 203.8 kB / 0.8993 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.7584, allocations: 80.84 kB / 0.8994 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.7585, allocations: 35.97 kB / 0.8995 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.7605, allocations: 1.552 MB / 0.901 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.7605, allocations: 16.02 kB / 0.901 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/0.7642, allocations: 1.86 MB / 0.9028 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007697/0.765, allocations: 339.3 kB / 0.9031 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.7653, allocations: 27.94 kB / 0.9032 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.7662, allocations: 91.81 kB / 0.9032 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.7664, allocations: 88.81 kB / 0.9033 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.7666, allocations: 47.97 kB / 0.9034 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009608/0.7675, allocations: 0.6261 MB / 0.904 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7675, allocations: 0 / 0.904 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001464/0.769, allocations: 443.1 kB / 0.9044 GB, free: 0.5742 MB / 0.6075 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.001824/0.7708, allocations: 0.7182 MB / 0.9051 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002389/0.7732, allocations: 1.093 MB / 0.9062 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7733, allocations: 320 / 0.9062 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.7745, allocations: 0.6641 MB / 0.9068 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.7767, allocations: 481.1 kB / 0.9073 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005887/0.7826, allocations: 3.034 MB / 0.9102 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.7836, allocations: 1.158 MB / 0.9114 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001569/0.7852, allocations: 373.6 kB / 0.9117 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.7855, allocations: 139.3 kB / 0.9119 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.7855, allocations: 0 / 0.9119 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of Templates: time 0.03786/0.8234, allocations: 22.49 MB / 0.9338 GB, free: 2.828 MB / 0.6387 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)