Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001257, allocations: 176.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.2 MB / 0.626 GB, free: 7.121 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 90.45 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.665e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8109, allocations: 116.3 MB / 0.9733 GB, free: 76.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.027/5.838, allocations: 2.092 GB / 3.065 GB, free: 36.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/5.839, allocations: 79.95 kB / 3.065 GB, free: 36.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.207/7.045, allocations: 307.8 MB / 3.366 GB, free: 112.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.484e-06/7.046, allocations: 0 / 3.366 GB, free: 112.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001039/7.046, allocations: 43.94 kB / 3.366 GB, free: 112.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.003071/7.049, allocations: 1.74 MB / 3.367 GB, free: 110.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/7.049, allocations: 8.031 kB / 3.367 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003294/7.052, allocations: 0.4895 MB / 3.368 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/7.054, allocations: 0.9661 MB / 3.369 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/7.054, allocations: 52 kB / 3.369 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/7.054, allocations: 92 kB / 3.369 GB, free: 109.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002306/7.056, allocations: 1.615 MB / 3.371 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002189/7.058, allocations: 1.425 MB / 3.372 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/7.058, allocations: 0 / 3.372 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/7.059, allocations: 4 kB / 3.372 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/7.059, allocations: 44 kB / 3.372 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006777/7.065, allocations: 4.525 MB / 3.376 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/7.067, allocations: 1.492 MB / 3.378 GB, free: 99.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000639/7.068, allocations: 0.5308 MB / 3.378 GB, free: 99.22 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007917/7.069, allocations: 0.8078 MB / 3.379 GB, free: 98.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/7.07, allocations: 0.7177 MB / 3.38 GB, free: 97.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 3.927e-06/7.07, allocations: 0 / 3.38 GB, free: 97.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.003087/7.073, allocations: 1.285 MB / 3.381 GB, free: 96.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/7.073, allocations: 244.6 kB / 3.381 GB, free: 95.91 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/7.074, allocations: 0.6096 MB / 3.382 GB, free: 95.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/7.074, allocations: 33.7 kB / 3.382 GB, free: 95.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/7.074, allocations: 0.6286 MB / 3.383 GB, free: 94.61 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/7.074, allocations: 445.2 kB / 3.383 GB, free: 94.17 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.16e-05/7.075, allocations: 0 / 3.383 GB, free: 94.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/7.075, allocations: 357.8 kB / 3.383 GB, free: 93.81 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/7.075, allocations: 370.5 kB / 3.384 GB, free: 93.45 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/7.076, allocations: 0.5231 MB / 3.384 GB, free: 92.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/7.076, allocations: 466.1 kB / 3.385 GB, free: 92.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/7.076, allocations: 4 kB / 3.385 GB, free: 92.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002333/7.079, allocations: 1.234 MB / 3.386 GB, free: 91.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/7.079, allocations: 4 kB / 3.386 GB, free: 91.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/7.079, allocations: 3.984 kB / 3.386 GB, free: 91.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008892/7.08, allocations: 196.1 kB / 3.386 GB, free: 90.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/7.081, allocations: 295.6 kB / 3.386 GB, free: 90.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/7.085, allocations: 6.503 MB / 3.393 GB, free: 83.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/7.086, allocations: 107.1 kB / 3.393 GB, free: 83.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/7.086, allocations: 43.97 kB / 3.393 GB, free: 83.43 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003268/7.087, allocations: 125.5 kB / 3.393 GB, free: 83.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002419/7.089, allocations: 1.245 MB / 3.394 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/7.089, allocations: 114.7 kB / 3.394 GB, free: 81.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/7.092, allocations: 1.556 MB / 3.396 GB, free: 80.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/7.092, allocations: 16 kB / 3.396 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/7.092, allocations: 0 / 3.396 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/7.092, allocations: 11.92 kB / 3.396 GB, free: 80.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/7.097, allocations: 2.937 MB / 3.399 GB, free: 77.31 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/7.097, allocations: 0 / 3.399 GB, free: 77.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/7.098, allocations: 315.6 kB / 3.399 GB, free: 77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007871/7.099, allocations: 188.1 kB / 3.399 GB, free: 76.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/7.099, allocations: 23.97 kB / 3.399 GB, free: 76.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004249/7.104, allocations: 6.508 MB / 3.406 GB, free: 69.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/7.104, allocations: 0 / 3.406 GB, free: 69.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/7.107, allocations: 1.433 MB / 3.407 GB, free: 68.23 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008753/7.108, allocations: 399.1 kB / 3.407 GB, free: 67.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/7.108, allocations: 0 / 3.407 GB, free: 67.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/7.109, allocations: 99.77 kB / 3.408 GB, free: 67.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/7.109, allocations: 105.1 kB / 3.408 GB, free: 67.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/7.11, allocations: 67.95 kB / 3.408 GB, free: 67.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006768/7.11, allocations: 491.1 kB / 3.408 GB, free: 67.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.11, allocations: 0 / 3.408 GB, free: 67.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002366/7.113, allocations: 0.5958 MB / 3.409 GB, free: 66.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006189/7.119, allocations: 3.57 MB / 3.412 GB, free: 62.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002432/7.121, allocations: 1.569 MB / 3.414 GB, free: 61.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/7.121, allocations: 8.625 kB / 3.414 GB, free: 61.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/7.123, allocations: 1.142 MB / 3.415 GB, free: 60.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/7.125, allocations: 405.5 kB / 3.415 GB, free: 59.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/7.131, allocations: 2.367 MB / 3.418 GB, free: 57.31 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/7.131, allocations: 1.303 MB / 3.419 GB, free: 55.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001646/7.133, allocations: 404.8 kB / 3.419 GB, free: 55.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/7.134, allocations: 0.6125 MB / 3.42 GB, free: 54.96 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/7.134, allocations: 0 / 3.42 GB, free: 54.96 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07203/7.206, allocations: 41.91 MB / 3.461 GB, free: 13.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/7.206, allocations: 166.9 kB / 3.461 GB, free: 13.01 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/10.99, allocations: 0 / 3.461 GB, free: 13.01 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)