Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009044/0.009044, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.61/1.61, allocations: 252 MB / 0.5105 GB, free: 4.648 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.0005341, allocations: 12 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5141/0.5146, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.3085/0.8232, allocations: 170.4 MB / 0.8952 GB, free: 180 kB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.8436, allocations: 15.14 MB / 0.9099 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.845, allocations: 27.81 kB / 0.91 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.8465, allocations: 0.4893 MB / 0.9104 GB, free: 480 kB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.4741/1.321, allocations: 1.261 MB / 0.9117 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/1.325, allocations: 1.533 MB / 0.9132 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00574/1.331, allocations: 3.258 MB / 0.9164 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/1.335, allocations: 1.584 MB / 0.9179 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005785/1.341, allocations: 1.087 MB / 0.919 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.343, allocations: 0.818 MB / 0.9198 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004042/1.343, allocations: 45.69 kB / 0.9198 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/1.348, allocations: 1.264 MB / 0.921 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008183/1.348, allocations: 399.9 kB / 0.9214 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001851/1.35, allocations: 0.7948 MB / 0.9222 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004307/1.355, allocations: 2.674 MB / 0.9248 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.355, allocations: 0 / 0.9248 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/1.355, allocations: 0 / 0.9248 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.089e-05/1.355, allocations: 3.156 kB / 0.9248 GB, free: 18.09 MB / 0.7325 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.004011/1.359, allocations: 1.8 MB / 0.9266 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.359, allocations: 10.09 kB / 0.9266 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/1.362, allocations: 465.9 kB / 0.927 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/1.364, allocations: 1.067 MB / 0.9281 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.933e-05/1.364, allocations: 119.2 kB / 0.9282 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/1.364, allocations: 161.4 kB / 0.9283 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/1.367, allocations: 1.727 MB / 0.93 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/1.367, allocations: 4.906 kB / 0.93 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/1.367, allocations: 66 kB / 0.9301 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/1.367, allocations: 49.33 kB / 0.9301 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002769/1.37, allocations: 1.722 MB / 0.9318 GB, free: 16.34 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 preOpt removeSimpleEquations (simulation): time 0.008102/1.378, allocations: 5.731 MB / 0.9374 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/1.38, allocations: 1.225 MB / 0.9386 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008711/1.381, allocations: 0.5372 MB / 0.9391 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009166/1.382, allocations: 0.8858 MB / 0.94 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/1.383, allocations: 0.7477 MB / 0.9407 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=117): time 3.176e-06/1.383, allocations: 4 kB / 0.9407 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117): time 0.004336/1.387, allocations: 1.76 MB / 0.9425 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.388, allocations: 198.5 kB / 0.9426 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.389, allocations: 0.9349 MB / 0.9436 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/1.389, allocations: 53.14 kB / 0.9436 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000622/1.39, allocations: 0.6395 MB / 0.9442 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/1.39, allocations: 397.8 kB / 0.9446 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.391, allocations: 89.7 kB / 0.9447 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.391, allocations: 349.6 kB / 0.945 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008491/1.392, allocations: 416.1 kB / 0.9454 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/1.393, allocations: 0.567 MB / 0.946 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/1.395, allocations: 0.9815 MB / 0.9469 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.395, allocations: 0 / 0.9469 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002797/1.397, allocations: 1.274 MB / 0.9482 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.397, allocations: 8.688 kB / 0.9482 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.397, allocations: 0 / 0.9482 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/1.398, allocations: 91.41 kB / 0.9483 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.399, allocations: 278 kB / 0.9485 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/1.401, allocations: 1.538 MB / 0.95 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.403, allocations: 156.6 kB / 0.9502 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/1.403, allocations: 45.75 kB / 0.9502 GB, free: 9.512 MB / 0.7325 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0008357/1.404, allocations: 369.2 kB / 0.9506 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/1.404, allocations: 132.4 kB / 0.9507 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003102/1.407, allocations: 1.512 MB / 0.9522 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.407, allocations: 14.5 kB / 0.9522 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.407, allocations: 4.656 kB / 0.9522 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.407, allocations: 6.281 kB / 0.9522 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/1.409, allocations: 1.409 MB / 0.9536 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.409, allocations: 2.953 kB / 0.9536 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.41, allocations: 259.8 kB / 0.9538 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005101/1.411, allocations: 94.05 kB / 0.9539 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/1.411, allocations: 32.31 kB / 0.954 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/1.413, allocations: 1.563 MB / 0.9555 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.413, allocations: 0 / 0.9555 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003852/1.417, allocations: 1.959 MB / 0.9574 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008665/1.417, allocations: 405.6 kB / 0.9578 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/1.418, allocations: 27.41 kB / 0.9578 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.419, allocations: 123 kB / 0.9579 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.419, allocations: 86.92 kB / 0.958 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.419, allocations: 60.92 kB / 0.9581 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009063/1.42, allocations: 0.6481 MB / 0.9587 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.42, allocations: 0 / 0.9587 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001531/1.422, allocations: 0.5018 MB / 0.9592 GB, free: 7.035 MB / 0.7325 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 (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.001559/1.423, allocations: 0.6587 MB / 0.9598 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002301/1.426, allocations: 1.194 MB / 0.961 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.426, allocations: 5.734 kB / 0.961 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.427, allocations: 0.708 MB / 0.9617 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/1.429, allocations: 0.5161 MB / 0.9622 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/1.436, allocations: 3.708 MB / 0.9658 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008241/1.437, allocations: 1.289 MB / 0.9671 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001905/1.439, allocations: 416.5 kB / 0.9675 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/1.439, allocations: 144.5 kB / 0.9676 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of SimCode: time 7.52e-07/1.439, allocations: 0 / 0.9676 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of Templates: time 0.0442/1.483, allocations: 24.05 MB / 0.9911 GB, free: 7.051 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) Environment - environmentSimulation: