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.0008042/0.0008043, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008885/0.0008886, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001767, allocations: 265.6 kB / 291.3 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9457/0.9457, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004029, allocations: 14.62 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.4209/0.56, allocations: 159.9 MB / 0.8406 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.5722, allocations: 10.09 MB / 0.8505 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009513/0.5732, allocations: 24.41 kB / 0.8505 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008276/0.574, allocations: 288 kB / 0.8508 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.5762, allocations: 0.8471 MB / 0.8516 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.5794, allocations: 1.26 MB / 0.8528 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002227/0.5816, allocations: 2.278 MB / 0.8551 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.583, allocations: 1.036 MB / 0.8561 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.5847, allocations: 0.9468 MB / 0.857 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.5855, allocations: 0.6485 MB / 0.8576 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.5856, allocations: 44.34 kB / 0.8577 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.5875, allocations: 0.8885 MB / 0.8585 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002901/0.5878, allocations: 308.5 kB / 0.8588 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.5881, allocations: 278.2 kB / 0.8591 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.5899, allocations: 1.765 MB / 0.8608 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5899, allocations: 0 / 0.8608 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5899, allocations: 0 / 0.8608 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.59, allocations: 4 kB / 0.8608 GB, free: 7.371 MB / 0.5762 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.002675/0.5926, allocations: 1.601 MB / 0.8624 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.5927, allocations: 8.406 kB / 0.8624 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.5947, allocations: 361.7 kB / 0.8627 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.596, allocations: 0.9163 MB / 0.8636 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.5961, allocations: 87.58 kB / 0.8637 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.5963, allocations: 112.8 kB / 0.8638 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.5984, allocations: 1.296 MB / 0.8651 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.5984, allocations: 3.938 kB / 0.8651 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.5986, allocations: 50.03 kB / 0.8651 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.5986, allocations: 27.62 kB / 0.8652 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.6008, allocations: 1.454 MB / 0.8666 GB, free: 3.605 MB / 0.5762 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.005633/0.6065, allocations: 3.891 MB / 0.8704 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.6085, allocations: 1.227 MB / 0.8716 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007392/0.6093, allocations: 452.1 kB / 0.872 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007257/0.61, allocations: 436.6 kB / 0.8724 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.6111, allocations: 0.6657 MB / 0.8731 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=106): time 2.875e-06/0.6111, allocations: 0 / 0.8731 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106): time 0.003896/0.615, allocations: 1.61 MB / 0.8747 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.6151, allocations: 196.9 kB / 0.8749 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6163, allocations: 0.8746 MB / 0.8757 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.6164, allocations: 49.7 kB / 0.8758 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000415/0.6168, allocations: 0.5083 MB / 0.8762 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.6171, allocations: 358.8 kB / 0.8766 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.6172, allocations: 24 kB / 0.8766 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6173, allocations: 349.9 kB / 0.8769 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.6181, allocations: 382.4 kB / 0.8773 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008672/0.6189, allocations: 0.5046 MB / 0.8778 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/0.6198, allocations: 438.9 kB / 0.8782 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6198, allocations: 0 / 0.8782 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002477/0.6223, allocations: 1.161 MB / 0.8794 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6223, allocations: 16.03 kB / 0.8794 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6223, allocations: 4.609 kB / 0.8794 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/0.6229, allocations: 84.78 kB / 0.8795 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.6239, allocations: 231.7 kB / 0.8797 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.6259, allocations: 1.543 MB / 0.8812 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/0.6268, allocations: 143.9 kB / 0.8813 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.627, allocations: 59.88 kB / 0.8814 GB, free: 5.996 MB / 0.5919 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005573/0.6275, allocations: 315.4 kB / 0.8817 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.6277, allocations: 118.6 kB / 0.8818 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.6308, allocations: 1.528 MB / 0.8833 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.6308, allocations: 12 kB / 0.8833 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6309, allocations: 96 / 0.8833 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.6309, allocations: 7.969 kB / 0.8833 GB, free: 3.992 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 postOpt removeSimpleEquations (simulation): time 0.004637/0.6355, allocations: 2.83 MB / 0.8861 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.6355, allocations: 4 kB / 0.8861 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/0.6365, allocations: 199.7 kB / 0.8863 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005075/0.637, allocations: 92.91 kB / 0.8864 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-05/0.6371, allocations: 27.98 kB / 0.8864 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.6388, allocations: 1.567 MB / 0.8879 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6388, allocations: 3.938 kB / 0.8879 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.6422, allocations: 1.86 MB / 0.8897 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/0.6427, allocations: 359.2 kB / 0.8901 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.6429, allocations: 31.98 kB / 0.8901 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/0.6438, allocations: 97.8 kB / 0.8902 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6439, allocations: 88.88 kB / 0.8903 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.342e-05/0.644, allocations: 51.92 kB / 0.8903 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008294/0.6449, allocations: 0.6144 MB / 0.8909 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6449, allocations: 3.938 kB / 0.8909 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001149/0.646, allocations: 455 kB / 0.8914 GB, free: 11.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.6476, allocations: 0.7029 MB / 0.8921 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.6497, allocations: 1.093 MB / 0.8931 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6497, allocations: 0 / 0.8931 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.6509, allocations: 0.6645 MB / 0.8938 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.653, allocations: 475.2 kB / 0.8942 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.6582, allocations: 3.122 MB / 0.8973 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007367/0.6589, allocations: 1.158 MB / 0.8984 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001284/0.6602, allocations: 373.6 kB / 0.8988 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.6606, allocations: 139.4 kB / 0.8989 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/0.6606, allocations: 0 / 0.8989 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.03442/0.695, allocations: 21.7 MB / 0.9201 GB, free: 14.39 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)