Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001168/0.001168, allocations: 193.2 kB / 16.14 MB, free: 6.703 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.388/1.388, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.826/2.826, allocations: 472.6 MB / 0.7447 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.05 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 159.9 MB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1868/0.5072, allocations: 173.9 MB / 1.237 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7516/1.259, allocations: 15.68 MB / 1.253 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/1.261, allocations: 26.88 kB / 1.253 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/1.264, allocations: 0.5163 MB / 1.253 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005411/1.269, allocations: 1.421 MB / 1.255 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004253/1.273, allocations: 1.487 MB / 1.256 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005109/1.278, allocations: 3.343 MB / 1.259 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/1.281, allocations: 1.676 MB / 1.261 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005395/1.286, allocations: 1.23 MB / 1.262 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002906/1.289, allocations: 1.031 MB / 1.263 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009184/1.29, allocations: 106.9 kB / 1.263 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004675/1.295, allocations: 1.4 MB / 1.265 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00142/1.296, allocations: 492.2 kB / 1.265 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003192/1.3, allocations: 0.9441 MB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006869/1.307, allocations: 2.94 MB / 1.269 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.307, allocations: 1.641 kB / 1.269 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.307, allocations: 0 / 1.269 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.071e-05/1.307, allocations: 4 kB / 1.269 GB, free: 4.926 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.005864/1.313, allocations: 2.305 MB / 1.271 GB, free: 19.81 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.313, allocations: 9.312 kB / 1.271 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/1.316, allocations: 468 kB / 1.272 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/1.318, allocations: 1.096 MB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.319, allocations: 119.1 kB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002539/1.319, allocations: 164.4 kB / 1.273 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/1.323, allocations: 1.779 MB / 1.275 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.448e-05/1.323, allocations: 4.984 kB / 1.275 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/1.323, allocations: 71.44 kB / 1.275 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/1.323, allocations: 49.62 kB / 1.275 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/1.327, allocations: 1.772 MB / 1.276 GB, free: 19.04 MB / 1.014 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.01179/1.339, allocations: 6.173 MB / 1.282 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/1.342, allocations: 1.563 MB / 1.284 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/1.343, allocations: 0.5663 MB / 1.285 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009601/1.344, allocations: 0.8823 MB / 1.285 GB, free: 14.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/1.346, allocations: 0.8002 MB / 1.286 GB, free: 14.76 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 2.925e-06/1.346, allocations: 0 / 1.286 GB, free: 14.76 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.005277/1.351, allocations: 1.886 MB / 1.288 GB, free: 14.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.351, allocations: 197.3 kB / 1.288 GB, free: 14.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/1.353, allocations: 0.9846 MB / 1.289 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001843/1.353, allocations: 51.33 kB / 1.289 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/1.354, allocations: 0.6575 MB / 1.29 GB, free: 13.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/1.354, allocations: 418.8 kB / 1.29 GB, free: 13.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/1.354, allocations: 238.2 kB / 1.29 GB, free: 13.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.355, allocations: 350.7 kB / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009506/1.356, allocations: 456.2 kB / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/1.357, allocations: 0.5985 MB / 1.292 GB, free: 13.13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/1.359, allocations: 1.034 MB / 1.293 GB, free: 13.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.359, allocations: 0 / 1.293 GB, free: 13.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003427/1.362, allocations: 1.347 MB / 1.294 GB, free: 12.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/1.362, allocations: 9.25 kB / 1.294 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.362, allocations: 3.281 kB / 1.294 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006368/1.363, allocations: 87.3 kB / 1.294 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.364, allocations: 289.9 kB / 1.295 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/1.366, allocations: 1.553 MB / 1.296 GB, free: 11.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.368, allocations: 165.6 kB / 1.296 GB, free: 11.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.369, allocations: 52.77 kB / 1.296 GB, free: 11.52 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * 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.001354/1.37, allocations: 377.6 kB / 1.297 GB, free: 11.4 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/1.37, allocations: 142.9 kB / 1.297 GB, free: 11.33 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/1.375, allocations: 1.608 MB / 1.298 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/1.375, allocations: 14 kB / 1.298 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.375, allocations: 0 / 1.298 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/1.375, allocations: 18.19 kB / 1.298 GB, free: 11.18 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006527/1.381, allocations: 3.17 MB / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/1.381, allocations: 0 / 1.301 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.383, allocations: 272.7 kB / 1.302 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005071/1.383, allocations: 81.81 kB / 1.302 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.941e-05/1.383, allocations: 37.69 kB / 1.302 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/1.385, allocations: 1.567 MB / 1.303 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.385, allocations: 0 / 1.303 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/1.389, allocations: 2.178 MB / 1.305 GB, free: 9.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.39, allocations: 395 kB / 1.306 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/1.391, allocations: 27.06 kB / 1.306 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.392, allocations: 130.1 kB / 1.306 GB, free: 8.98 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/1.392, allocations: 93.31 kB / 1.306 GB, free: 8.977 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.392, allocations: 64.12 kB / 1.306 GB, free: 8.977 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001123/1.393, allocations: 0.6801 MB / 1.307 GB, free: 8.867 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.31e-07/1.393, allocations: 0 / 1.307 GB, free: 8.867 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001767/1.395, allocations: 0.5599 MB / 1.307 GB, free: 8.766 MB / 1.014 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: 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 (137): * Single equations (assignments): 131 * 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.001702/1.397, allocations: 0.7102 MB / 1.308 GB, free: 8.523 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002637/1.4, allocations: 1.275 MB / 1.309 GB, free: 8.383 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.4, allocations: 448 / 1.309 GB, free: 8.379 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.401, allocations: 0.7564 MB / 1.31 GB, free: 8.254 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/1.404, allocations: 0.5318 MB / 1.311 GB, free: 8.215 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/1.409, allocations: 3.591 MB / 1.314 GB, free: 6.371 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008352/1.41, allocations: 1.315 MB / 1.315 GB, free: 5.629 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00196/1.412, allocations: 440.3 kB / 1.316 GB, free: 5.492 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/1.413, allocations: 147.8 kB / 1.316 GB, free: 5.488 MB / 1.014 GB Notification: Performance of SimCode: time 1.382e-06/1.413, allocations: 7 kB / 1.316 GB, free: 5.484 MB / 1.014 GB Notification: Performance of Templates: time 0.04622/1.459, allocations: 25.8 MB / 1.341 GB, free: 13.18 MB / 1.029 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)