Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.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_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.298/2.298, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.002003/0.002003, allocations: 187 kB / 325.8 MB, free: 2.797 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.489/2.489, allocations: 205.4 MB / 0.5767 GB, free: 20.76 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.00094/0.0009399, allocations: 86.36 kB / 0.6812 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006391/0.0006394, allocations: 13.44 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2327, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.245/0.4777, allocations: 159 MB / 1.054 GB, free: 1.949 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.837/1.315, allocations: 14.19 MB / 1.068 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/1.317, allocations: 26.59 kB / 1.068 GB, free: 4.141 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002178/1.319, allocations: 404 kB / 1.069 GB, free: 4.133 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.005273/1.324, allocations: 1.093 MB / 1.07 GB, free: 4.078 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006144/1.33, allocations: 1.277 MB / 1.071 GB, free: 4.027 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006189/1.337, allocations: 2.887 MB / 1.074 GB, free: 4.016 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004161/1.341, allocations: 1.516 MB / 1.075 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/1.345, allocations: 1.031 MB / 1.076 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/1.348, allocations: 0.7803 MB / 1.077 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006254/1.348, allocations: 45.59 kB / 1.077 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/1.353, allocations: 0.7763 MB / 1.078 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/1.354, allocations: 391.9 kB / 1.078 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.355, allocations: 340.9 kB / 1.078 GB, free: 19.78 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004578/1.36, allocations: 2.019 MB / 1.08 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.36, allocations: 0 / 1.08 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.777e-06/1.36, allocations: 2.734 kB / 1.08 GB, free: 19.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001041/1.36, allocations: 1.438 kB / 1.08 GB, free: 19.62 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.006009/1.366, allocations: 1.813 MB / 1.082 GB, free: 18.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.366, allocations: 8.469 kB / 1.082 GB, free: 18.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/1.371, allocations: 472.1 kB / 1.083 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/1.375, allocations: 1.03 MB / 1.084 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/1.375, allocations: 118.3 kB / 1.084 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004667/1.375, allocations: 156.9 kB / 1.084 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00553/1.381, allocations: 1.714 MB / 1.086 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/1.381, allocations: 3.906 kB / 1.086 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/1.381, allocations: 68.91 kB / 1.086 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.569e-05/1.381, allocations: 45.25 kB / 1.086 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006063/1.387, allocations: 1.718 MB / 1.087 GB, free: 17.9 MB / 0.7136 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.01496/1.402, allocations: 5.732 MB / 1.093 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/1.406, allocations: 1.221 MB / 1.094 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/1.408, allocations: 0.5288 MB / 1.095 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/1.409, allocations: 0.8814 MB / 1.096 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/1.412, allocations: 0.7404 MB / 1.096 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 5.29e-06/1.412, allocations: 0 / 1.096 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.007806/1.42, allocations: 1.764 MB / 1.098 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.42, allocations: 195.1 kB / 1.098 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/1.422, allocations: 0.9304 MB / 1.099 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004361/1.422, allocations: 51.7 kB / 1.099 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006705/1.423, allocations: 0.6319 MB / 1.1 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/1.423, allocations: 397.7 kB / 1.1 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.424, allocations: 20.84 kB / 1.1 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.424, allocations: 350.2 kB / 1.101 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.425, allocations: 412.9 kB / 1.101 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/1.427, allocations: 0.5531 MB / 1.101 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.428, allocations: 493.8 kB / 1.102 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.428, allocations: 0 / 1.102 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004674/1.433, allocations: 1.261 MB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.433, allocations: 5.094 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/1.433, allocations: 2.938 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009664/1.434, allocations: 84.08 kB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/1.437, allocations: 275.9 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/1.44, allocations: 1.541 MB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/1.443, allocations: 156.4 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/1.443, allocations: 47.73 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (132): * Single equations (assignments): 131 * 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.001313/1.444, allocations: 374.7 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005158/1.445, allocations: 133.3 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005523/1.45, allocations: 1.512 MB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/1.45, allocations: 15.5 kB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.45, allocations: 0 / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/1.45, allocations: 6.422 kB / 1.107 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/1.454, allocations: 1.413 MB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.454, allocations: 0 / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002618/1.456, allocations: 263.5 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009223/1.457, allocations: 84.78 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/1.457, allocations: 35.97 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002672/1.46, allocations: 1.557 MB / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.46, allocations: 4.062 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/1.467, allocations: 1.953 MB / 1.112 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001431/1.469, allocations: 401.7 kB / 1.113 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/1.469, allocations: 19.22 kB / 1.113 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/1.471, allocations: 131.8 kB / 1.113 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/1.472, allocations: 89.23 kB / 1.113 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.472, allocations: 61.3 kB / 1.113 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001342/1.473, allocations: 0.643 MB / 1.114 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.32e-07/1.473, allocations: 0 / 1.114 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002356/1.476, allocations: 0.4987 MB / 1.114 GB, free: 8.641 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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: 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.002217/1.478, allocations: 0.6581 MB / 1.115 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004262/1.482, allocations: 1.186 MB / 1.116 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.482, allocations: 2.781 kB / 1.116 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002458/1.485, allocations: 0.7126 MB / 1.117 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/1.49, allocations: 0.505 MB / 1.117 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.501, allocations: 3.605 MB / 1.121 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/1.503, allocations: 1.291 MB / 1.122 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003171/1.506, allocations: 423 kB / 1.122 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007806/1.507, allocations: 138.9 kB / 1.122 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.507, allocations: 0 / 1.122 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of Templates: time 0.06575/1.572, allocations: 23.3 MB / 1.145 GB, free: 9.176 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)