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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 176.2 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205 MB / 0.5767 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007103/0.0007104, allocations: 87.98 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8.188 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1557, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.4909/0.6467, allocations: 172.4 MB / 1.065 GB, free: 1.828 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.6626, allocations: 15.35 MB / 1.08 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.6639, allocations: 29.22 kB / 1.08 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.6653, allocations: 500 kB / 1.081 GB, free: 1.547 MB / 0.698 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.003629/0.6689, allocations: 1.268 MB / 1.082 GB, free: 1.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.6741, allocations: 1.525 MB / 1.083 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003291/0.6774, allocations: 3.25 MB / 1.086 GB, free: 1.406 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.6792, allocations: 1.564 MB / 1.088 GB, free: 1.141 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.6833, allocations: 1.111 MB / 1.089 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/0.6842, allocations: 0.8089 MB / 1.09 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.6843, allocations: 45.28 kB / 1.09 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.6866, allocations: 1.271 MB / 1.091 GB, free: 1.094 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.6869, allocations: 393.8 kB / 1.092 GB, free: 1.094 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.6876, allocations: 0.768 MB / 1.092 GB, free: 1.094 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.6899, allocations: 2.676 MB / 1.095 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.69, allocations: 0 / 1.095 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.312e-06/0.69, allocations: 0 / 1.095 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.69, allocations: 0 / 1.095 GB, free: 0.9336 MB / 0.698 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.00269/0.6927, allocations: 1.804 MB / 1.097 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6927, allocations: 9.781 kB / 1.097 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/0.6954, allocations: 469.7 kB / 1.097 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6967, allocations: 1.066 MB / 1.098 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.6968, allocations: 112.7 kB / 1.098 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.697, allocations: 157.8 kB / 1.098 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.6994, allocations: 1.726 MB / 1.1 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.6995, allocations: 6 kB / 1.1 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.6996, allocations: 73.94 kB / 1.1 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.6996, allocations: 42.88 kB / 1.1 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002542/0.7022, allocations: 1.729 MB / 1.102 GB, free: 15.16 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.006751/0.709, allocations: 5.73 MB / 1.108 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.7109, allocations: 1.233 MB / 1.109 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007694/0.7117, allocations: 0.5411 MB / 1.109 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007967/0.7125, allocations: 0.8799 MB / 1.11 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.7136, allocations: 0.7446 MB / 1.111 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 3.527e-06/0.7136, allocations: 0 / 1.111 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.00396/0.7176, allocations: 1.765 MB / 1.113 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.7177, allocations: 199.5 kB / 1.113 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/0.7186, allocations: 0.9351 MB / 1.114 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.684e-05/0.7187, allocations: 52.3 kB / 1.114 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.7191, allocations: 0.6332 MB / 1.114 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.7194, allocations: 397.7 kB / 1.115 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.7195, allocations: 88.58 kB / 1.115 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7196, allocations: 352.4 kB / 1.115 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006947/0.7203, allocations: 417.3 kB / 1.116 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008218/0.7212, allocations: 0.5569 MB / 1.116 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.7228, allocations: 0.9859 MB / 1.117 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.7228, allocations: 4 kB / 1.117 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002434/0.7252, allocations: 1.273 MB / 1.118 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.7253, allocations: 3.812 kB / 1.118 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7253, allocations: 6.156 kB / 1.118 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/0.7259, allocations: 96.91 kB / 1.118 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.7271, allocations: 274.4 kB / 1.119 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.7291, allocations: 1.536 MB / 1.12 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.7302, allocations: 158.6 kB / 1.12 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.7303, allocations: 48.23 kB / 1.12 GB, free: 8.289 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 (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.000617/0.731, allocations: 366.5 kB / 1.121 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000286/0.7313, allocations: 130.4 kB / 1.121 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/0.7344, allocations: 1.52 MB / 1.122 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.7344, allocations: 6.422 kB / 1.122 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7344, allocations: 0 / 1.122 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.735, allocations: 382.9 kB / 1.123 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.7351, allocations: 29.16 kB / 1.123 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.7361, allocations: 129.5 kB / 1.123 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.7363, allocations: 78.8 kB / 1.123 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002877/0.7392, allocations: 1.412 MB / 1.124 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002881/0.7421, allocations: 2.056 MB / 1.126 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000786/0.7429, allocations: 0.5423 MB / 1.127 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007479/0.7436, allocations: 0.6501 MB / 1.127 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of Backend: time 1.011e-06/0.7436, allocations: 0 / 1.127 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003535/0.7472, allocations: 1.597 MB / 1.129 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004627/0.7518, allocations: 3.854 MB / 1.133 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of Templates: time 0.03933/0.7912, allocations: 26.59 MB / 1.159 GB, free: 2.863 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (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)