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.001604/0.001605, allocations: 112.1 kB / 16.37 MB, free: 6.344 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.001367/0.001368, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 285.6 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.9548/0.9548, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 99.84 kB / 0.682 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4488, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside): time 0.1888/0.6377, allocations: 176 MB / 0.9389 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.6524, allocations: 10.84 MB / 0.9495 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.6537, allocations: 31.81 kB / 0.9495 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.6548, allocations: 392.9 kB / 0.9499 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.658, allocations: 1.062 MB / 0.9509 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00412/0.6621, allocations: 1.702 MB / 0.9526 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002959/0.6651, allocations: 2.295 MB / 0.9548 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.667, allocations: 1.447 MB / 0.9562 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.6704, allocations: 1.258 MB / 0.9574 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4474/1.118, allocations: 0.7859 MB / 0.9582 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004775/1.118, allocations: 155.3 kB / 0.9584 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/1.122, allocations: 1.415 MB / 0.9597 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004968/1.122, allocations: 451.5 kB / 0.9602 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008502/1.123, allocations: 0.7708 MB / 0.9609 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003737/1.127, allocations: 2.549 MB / 0.9634 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/1.127, allocations: 0.8125 kB / 0.9634 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/1.127, allocations: 0 / 0.9634 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.531e-05/1.127, allocations: 0.9375 kB / 0.9634 GB, free: 5.207 MB / 0.7169 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.003219/1.13, allocations: 1.88 MB / 0.9653 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/1.13, allocations: 7.375 kB / 0.9653 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/1.132, allocations: 349.9 kB / 0.9656 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/1.134, allocations: 0.9875 MB / 0.9666 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/1.134, allocations: 85.61 kB / 0.9666 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/1.134, allocations: 115.5 kB / 0.9668 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/1.136, allocations: 1.296 MB / 0.968 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/1.136, allocations: 5.562 kB / 0.968 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/1.136, allocations: 51.25 kB / 0.9681 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/1.136, allocations: 28.88 kB / 0.9681 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/1.138, allocations: 1.452 MB / 0.9695 GB, free: 3.645 MB / 0.7169 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.005198/1.144, allocations: 3.813 MB / 0.9732 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/1.146, allocations: 1.21 MB / 0.9744 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/1.146, allocations: 452.8 kB / 0.9749 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008299/1.147, allocations: 426.8 kB / 0.9753 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/1.148, allocations: 0.66 MB / 0.9759 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 2.865e-06/1.148, allocations: 1.75 kB / 0.9759 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.0039/1.152, allocations: 1.605 MB / 0.9775 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.152, allocations: 192.7 kB / 0.9777 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.154, allocations: 0.8881 MB / 0.9785 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/1.154, allocations: 51.05 kB / 0.9786 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/1.154, allocations: 0.5107 MB / 0.9791 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/1.154, allocations: 353.5 kB / 0.9794 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/1.155, allocations: 210.2 kB / 0.9796 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.155, allocations: 348.3 kB / 0.9799 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/1.156, allocations: 380.7 kB / 0.9803 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008128/1.156, allocations: 0.5114 MB / 0.9808 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/1.158, allocations: 0.8662 MB / 0.9816 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.158, allocations: 0.625 kB / 0.9817 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002428/1.16, allocations: 1.167 MB / 0.9828 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/1.16, allocations: 12.88 kB / 0.9828 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/1.16, allocations: 3.562 kB / 0.9828 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/1.161, allocations: 82.62 kB / 0.9829 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/1.162, allocations: 234 kB / 0.9831 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/1.164, allocations: 1.648 MB / 0.9847 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.165, allocations: 129.6 kB / 0.9848 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/1.165, allocations: 46.25 kB / 0.9849 GB, free: 14.77 MB / 0.7325 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.0006824/1.166, allocations: 327 kB / 0.9852 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/1.166, allocations: 116.7 kB / 0.9853 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/1.169, allocations: 1.508 MB / 0.9868 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/1.169, allocations: 11.06 kB / 0.9868 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.169, allocations: 0 / 0.9868 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/1.169, allocations: 6.391 kB / 0.9868 GB, free: 14.46 MB / 0.7325 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.004939/1.174, allocations: 2.832 MB / 0.9896 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.174, allocations: 3.219 kB / 0.9896 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008807/1.175, allocations: 198.4 kB / 0.9898 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/1.176, allocations: 78.83 kB / 0.9898 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/1.176, allocations: 38.19 kB / 0.9899 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/1.178, allocations: 1.674 MB / 0.9915 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.178, allocations: 3.188 kB / 0.9915 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/1.181, allocations: 1.864 MB / 0.9933 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/1.181, allocations: 342.6 kB / 0.9937 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.182, allocations: 36.03 kB / 0.9937 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/1.183, allocations: 76.11 kB / 0.9938 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/1.183, allocations: 89.5 kB / 0.9938 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/1.183, allocations: 49.02 kB / 0.9939 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008775/1.184, allocations: 0.6264 MB / 0.9945 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/1.184, allocations: 1.062 kB / 0.9945 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001428/1.185, allocations: 443.5 kB / 0.9949 GB, free: 11.84 MB / 0.7325 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.001796/1.187, allocations: 0.7158 MB / 0.9956 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002171/1.189, allocations: 1.107 MB / 0.9967 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.189, allocations: 0.6875 kB / 0.9967 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.19, allocations: 0.6532 MB / 0.9973 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/1.193, allocations: 0.505 MB / 0.9978 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/1.198, allocations: 2.531 MB / 1 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/1.199, allocations: 1.161 MB / 1.001 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/1.199, allocations: 146 kB / 1.002 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/1.199, allocations: 0 / 1.002 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of Templates: time 0.03642/1.236, allocations: 26.71 MB / 1.028 GB, free: 0.9609 MB / 0.7325 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)