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.001624/0.001624, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.324, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1988/0.5228, allocations: 176.2 MB / 1.24 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.603/1.126, allocations: 15.66 MB / 1.255 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/1.128, allocations: 32.69 kB / 1.256 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/1.13, allocations: 0.6122 MB / 1.256 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00488/1.135, allocations: 1.571 MB / 1.258 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/1.139, allocations: 1.67 MB / 1.259 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00383/1.143, allocations: 2.894 MB / 1.262 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/1.146, allocations: 1.847 MB / 1.264 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003578/1.149, allocations: 1.366 MB / 1.265 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/1.151, allocations: 1.047 MB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002907/1.151, allocations: 198.8 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/1.154, allocations: 1.304 MB / 1.268 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005881/1.155, allocations: 0.5724 MB / 1.268 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001194/1.156, allocations: 1.029 MB / 1.269 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004168/1.16, allocations: 2.957 MB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.16, allocations: 2.656 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.16, allocations: 3.562 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.164e-05/1.16, allocations: 0.9062 kB / 1.272 GB, free: 5.145 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.004873/1.165, allocations: 2.302 MB / 1.274 GB, free: 20.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.165, allocations: 9.625 kB / 1.274 GB, free: 20.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/1.168, allocations: 472.8 kB / 1.275 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/1.171, allocations: 1.092 MB / 1.276 GB, free: 19.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.171, allocations: 126 kB / 1.276 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/1.171, allocations: 159.2 kB / 1.276 GB, free: 19.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/1.175, allocations: 1.789 MB / 1.278 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.535e-05/1.175, allocations: 4.531 kB / 1.278 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/1.175, allocations: 69.94 kB / 1.278 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/1.175, allocations: 47.42 kB / 1.278 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/1.179, allocations: 1.772 MB / 1.28 GB, free: 19.29 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.009536/1.188, allocations: 6.199 MB / 1.286 GB, free: 16.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002923/1.191, allocations: 1.561 MB / 1.287 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/1.192, allocations: 0.5698 MB / 1.288 GB, free: 16.06 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.193, allocations: 0.8832 MB / 1.289 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/1.195, allocations: 0.7979 MB / 1.29 GB, free: 15.05 MB / 1.014 GB Notification: Performance of pre-optimization done (n=126): time 5.29e-06/1.195, allocations: 1.281 kB / 1.29 GB, free: 15.05 MB / 1.014 GB Notification: Performance of matching and sorting (n=126): time 0.005664/1.201, allocations: 1.88 MB / 1.291 GB, free: 14.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/1.201, allocations: 203.7 kB / 1.292 GB, free: 14.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/1.202, allocations: 0.9891 MB / 1.293 GB, free: 14.44 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/1.203, allocations: 55.39 kB / 1.293 GB, free: 14.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006298/1.203, allocations: 0.6542 MB / 1.293 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/1.204, allocations: 418.7 kB / 1.294 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004168/1.204, allocations: 236.1 kB / 1.294 GB, free: 13.85 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.204, allocations: 348.5 kB / 1.294 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009724/1.205, allocations: 450.2 kB / 1.295 GB, free: 13.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.206, allocations: 0.5943 MB / 1.295 GB, free: 13.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001973/1.208, allocations: 1.041 MB / 1.296 GB, free: 13.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.208, allocations: 0 / 1.296 GB, free: 13.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003388/1.212, allocations: 1.35 MB / 1.298 GB, free: 13.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/1.212, allocations: 9.531 kB / 1.298 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.212, allocations: 1.453 kB / 1.298 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/1.212, allocations: 88.91 kB / 1.298 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.214, allocations: 287.6 kB / 1.298 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/1.216, allocations: 1.654 MB / 1.3 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.218, allocations: 141 kB / 1.3 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.218, allocations: 52.7 kB / 1.3 GB, free: 11.76 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.00112/1.219, allocations: 390.7 kB / 1.3 GB, free: 11.63 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/1.219, allocations: 135.6 kB / 1.3 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/1.223, allocations: 1.616 MB / 1.302 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.223, allocations: 14.81 kB / 1.302 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.223, allocations: 0 / 1.302 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.223, allocations: 9.797 kB / 1.302 GB, free: 11.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/1.229, allocations: 3.167 MB / 1.305 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.229, allocations: 0.9062 kB / 1.305 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/1.23, allocations: 266.9 kB / 1.305 GB, free: 11.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/1.231, allocations: 74.75 kB / 1.305 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/1.231, allocations: 37.31 kB / 1.305 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/1.233, allocations: 1.677 MB / 1.307 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.233, allocations: 0 / 1.307 GB, free: 9.637 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004412/1.237, allocations: 2.179 MB / 1.309 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008717/1.238, allocations: 396.2 kB / 1.309 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/1.239, allocations: 36.42 kB / 1.309 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.24, allocations: 89.05 kB / 1.31 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/1.24, allocations: 92.91 kB / 1.31 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.24, allocations: 59.03 kB / 1.31 GB, free: 9.191 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001177/1.241, allocations: 0.6853 MB / 1.31 GB, free: 9.078 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.41e-07/1.241, allocations: 0 / 1.31 GB, free: 9.078 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001755/1.243, allocations: 0.5565 MB / 1.311 GB, free: 8.984 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.001572/1.245, allocations: 0.7073 MB / 1.312 GB, free: 8.762 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003983/1.249, allocations: 1.69 MB / 1.313 GB, free: 8.609 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.249, allocations: 3.094 kB / 1.313 GB, free: 8.605 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/1.25, allocations: 0.7728 MB / 1.314 GB, free: 8.48 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.252, allocations: 0.5687 MB / 1.315 GB, free: 8.418 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/1.258, allocations: 2.882 MB / 1.317 GB, free: 7.293 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009036/1.259, allocations: 1.303 MB / 1.319 GB, free: 6.555 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00209/1.261, allocations: 440.9 kB / 1.319 GB, free: 6.422 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004254/1.261, allocations: 153.9 kB / 1.319 GB, free: 6.418 MB / 1.014 GB Notification: Performance of SimCode: time 1.473e-06/1.261, allocations: 0 / 1.319 GB, free: 6.418 MB / 1.014 GB Notification: Performance of Templates: time 0.04596/1.307, allocations: 26.91 MB / 1.346 GB, free: 13.91 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)