Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.63/2.63, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 184.1 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.481, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009281/0.000928, allocations: 90.3 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006394/0.0006397, allocations: 15.58 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2069, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2251/0.432, allocations: 151.6 MB / 1.047 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.7024/1.134, allocations: 15.51 MB / 1.062 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/1.136, allocations: 22.81 kB / 1.062 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/1.138, allocations: 362.3 kB / 1.063 GB, free: 4.051 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.005159/1.143, allocations: 1.055 MB / 1.064 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005829/1.149, allocations: 1.118 MB / 1.065 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004864/1.154, allocations: 2.53 MB / 1.067 GB, free: 3.949 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004142/1.158, allocations: 1.59 MB / 1.069 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/1.162, allocations: 0.9636 MB / 1.07 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/1.164, allocations: 0.6851 MB / 1.07 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005955/1.165, allocations: 40.59 kB / 1.07 GB, free: 3.766 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/1.169, allocations: 0.8403 MB / 1.071 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/1.171, allocations: 362.8 kB / 1.072 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/1.172, allocations: 329.7 kB / 1.072 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005219/1.177, allocations: 2.093 MB / 1.074 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/1.177, allocations: 7.172 kB / 1.074 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.006e-06/1.177, allocations: 0 / 1.074 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001082/1.177, allocations: 4 kB / 1.074 GB, free: 19.55 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.006619/1.184, allocations: 1.795 MB / 1.076 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.184, allocations: 9.531 kB / 1.076 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006489/1.191, allocations: 0.5129 MB / 1.076 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/1.194, allocations: 1.025 MB / 1.077 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/1.194, allocations: 123.7 kB / 1.077 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005874/1.195, allocations: 161.2 kB / 1.077 GB, free: 18.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006113/1.201, allocations: 1.768 MB / 1.079 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.479e-05/1.201, allocations: 5.375 kB / 1.079 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003675/1.201, allocations: 75.09 kB / 1.079 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/1.202, allocations: 40.53 kB / 1.079 GB, free: 17.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006545/1.208, allocations: 1.817 MB / 1.081 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01523/1.223, allocations: 5.06 MB / 1.086 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/1.228, allocations: 1.326 MB / 1.087 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/1.23, allocations: 0.6157 MB / 1.088 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.232, allocations: 0.8123 MB / 1.089 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002705/1.234, allocations: 0.8246 MB / 1.089 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=137): time 4.789e-06/1.234, allocations: 0 / 1.089 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=137): time 0.01039/1.245, allocations: 2.425 MB / 1.092 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.245, allocations: 200.1 kB / 1.092 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.247, allocations: 0.7856 MB / 1.093 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004676/1.247, allocations: 57.48 kB / 1.093 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/1.248, allocations: 0.6255 MB / 1.093 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000636/1.248, allocations: 461.4 kB / 1.094 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/1.248, allocations: 28.3 kB / 1.094 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002308/1.249, allocations: 352.1 kB / 1.094 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/1.25, allocations: 451.2 kB / 1.095 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/1.252, allocations: 0.5912 MB / 1.095 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00195/1.254, allocations: 0.5109 MB / 1.096 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.254, allocations: 0 / 1.096 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00579/1.26, allocations: 1.44 MB / 1.097 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.26, allocations: 8 kB / 1.097 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.26, allocations: 3.234 kB / 1.097 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/1.262, allocations: 189.8 kB / 1.097 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003864/1.266, allocations: 308.2 kB / 1.098 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/1.276, allocations: 6.777 MB / 1.104 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/1.28, allocations: 151.8 kB / 1.104 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/1.28, allocations: 57.91 kB / 1.104 GB, free: 6.355 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (144): * Single equations (assignments): 139 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001894/1.282, allocations: 370.1 kB / 1.105 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006625/1.283, allocations: 130.1 kB / 1.105 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00959/1.293, allocations: 1.722 MB / 1.107 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.293, allocations: 14.84 kB / 1.107 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/1.293, allocations: 3.188 kB / 1.107 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.924e-05/1.293, allocations: 7.938 kB / 1.107 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004441/1.297, allocations: 1.438 MB / 1.108 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-05/1.297, allocations: 4 kB / 1.108 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003791/1.301, allocations: 302 kB / 1.108 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/1.303, allocations: 193 kB / 1.109 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/1.303, allocations: 42.34 kB / 1.109 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01054/1.314, allocations: 6.807 MB / 1.115 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.314, allocations: 3.188 kB / 1.115 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008089/1.322, allocations: 1.522 MB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001851/1.324, allocations: 402.2 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005076/1.325, allocations: 33.19 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003435/1.328, allocations: 142.5 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/1.329, allocations: 103.1 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003678/1.329, allocations: 64.25 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001595/1.331, allocations: 0.5405 MB / 1.118 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.31e-07/1.331, allocations: 4 kB / 1.118 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003569/1.334, allocations: 0.5409 MB / 1.118 GB, free: 14.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003259/1.338, allocations: 0.6797 MB / 1.119 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007221/1.345, allocations: 1.759 MB / 1.121 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/1.345, allocations: 2.844 kB / 1.121 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004751/1.35, allocations: 1.249 MB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004768/1.355, allocations: 463.1 kB / 1.123 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.366, allocations: 3.522 MB / 1.126 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.367, allocations: 1.279 MB / 1.127 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003263/1.37, allocations: 423 kB / 1.128 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/1.371, allocations: 143.5 kB / 1.128 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of SimCode: time 1.292e-06/1.371, allocations: 0 / 1.128 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of Templates: time 0.06831/1.439, allocations: 23.99 MB / 1.151 GB, free: 13.96 MB / 0.7448 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)