Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001385/0.001385, allocations: 176.8 kB / 361.4 MB, free: 6.852 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.672/1.672, allocations: 205.3 MB / 0.62 GB, free: 11.63 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.000923/0.0009234, allocations: 105.8 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.627e-05, allocations: 4 kB / 0.8518 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8243/0.8244, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.645, allocations: 2.091 GB / 3.055 GB, free: 24.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/5.646, allocations: 89.31 kB / 3.055 GB, free: 24.57 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.239/6.884, allocations: 307.8 MB / 3.356 GB, free: 108.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/6.884, allocations: 0 / 3.356 GB, free: 108.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002491/6.885, allocations: 43.94 kB / 3.356 GB, free: 108.1 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.005259/6.89, allocations: 1.746 MB / 3.358 GB, free: 106.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/6.89, allocations: 12.03 kB / 3.358 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/6.894, allocations: 497.2 kB / 3.358 GB, free: 105.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/6.896, allocations: 0.9622 MB / 3.359 GB, free: 104.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/6.897, allocations: 56 kB / 3.359 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004061/6.897, allocations: 92 kB / 3.359 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003025/6.9, allocations: 1.615 MB / 3.361 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/6.903, allocations: 1.437 MB / 3.362 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/6.903, allocations: 0 / 3.362 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/6.903, allocations: 4 kB / 3.362 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/6.904, allocations: 43.94 kB / 3.362 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008163/6.912, allocations: 4.517 MB / 3.367 GB, free: 96.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/6.914, allocations: 1.492 MB / 3.368 GB, free: 95.23 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007661/6.915, allocations: 0.5386 MB / 3.369 GB, free: 94.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008269/6.915, allocations: 0.8078 MB / 3.369 GB, free: 93.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/6.917, allocations: 0.7205 MB / 3.37 GB, free: 92.97 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 5.86e-06/6.917, allocations: 0 / 3.37 GB, free: 92.97 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.003638/6.92, allocations: 1.281 MB / 3.371 GB, free: 91.67 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/6.92, allocations: 248.6 kB / 3.372 GB, free: 91.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009986/6.921, allocations: 0.6212 MB / 3.372 GB, free: 90.74 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/6.922, allocations: 29.7 kB / 3.372 GB, free: 90.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004855/6.922, allocations: 0.6209 MB / 3.373 GB, free: 90.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/6.922, allocations: 437.3 kB / 3.373 GB, free: 89.64 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/6.923, allocations: 0 / 3.373 GB, free: 89.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/6.923, allocations: 349.9 kB / 3.374 GB, free: 89.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/6.923, allocations: 370.5 kB / 3.374 GB, free: 88.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/6.924, allocations: 0.527 MB / 3.374 GB, free: 88.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/6.925, allocations: 462.2 kB / 3.375 GB, free: 87.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/6.925, allocations: 0 / 3.375 GB, free: 87.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002544/6.927, allocations: 1.242 MB / 3.376 GB, free: 86.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/6.927, allocations: 4 kB / 3.376 GB, free: 86.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/6.927, allocations: 0 / 3.376 GB, free: 86.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009222/6.928, allocations: 196.2 kB / 3.376 GB, free: 86.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/6.93, allocations: 295.6 kB / 3.377 GB, free: 86.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/6.934, allocations: 6.499 MB / 3.383 GB, free: 79.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/6.936, allocations: 119 kB / 3.383 GB, free: 78.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/6.936, allocations: 51.97 kB / 3.383 GB, free: 78.89 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.0004133/6.936, allocations: 125.4 kB / 3.383 GB, free: 78.77 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002626/6.939, allocations: 1.234 MB / 3.384 GB, free: 77.51 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/6.939, allocations: 114.9 kB / 3.385 GB, free: 77.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/6.942, allocations: 1.556 MB / 3.386 GB, free: 75.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/6.942, allocations: 16 kB / 3.386 GB, free: 75.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/6.942, allocations: 11.89 kB / 3.386 GB, free: 75.78 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/6.942, allocations: 7.969 kB / 3.386 GB, free: 75.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005792/6.948, allocations: 2.933 MB / 3.389 GB, free: 72.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/6.948, allocations: 0 / 3.389 GB, free: 72.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/6.95, allocations: 307.6 kB / 3.389 GB, free: 72.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008555/6.951, allocations: 192.1 kB / 3.389 GB, free: 72.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/6.951, allocations: 23.97 kB / 3.389 GB, free: 72.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004069/6.955, allocations: 6.523 MB / 3.396 GB, free: 65.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/6.955, allocations: 0 / 3.396 GB, free: 65.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/6.958, allocations: 1.43 MB / 3.397 GB, free: 63.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/6.958, allocations: 399.1 kB / 3.398 GB, free: 63.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/6.959, allocations: 7.953 kB / 3.398 GB, free: 63.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/6.96, allocations: 103.7 kB / 3.398 GB, free: 63.17 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/6.96, allocations: 97.17 kB / 3.398 GB, free: 63.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/6.96, allocations: 63.95 kB / 3.398 GB, free: 63.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007481/6.961, allocations: 495.1 kB / 3.398 GB, free: 62.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.8e-07/6.961, allocations: 0 / 3.398 GB, free: 62.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002366/6.964, allocations: 0.5959 MB / 3.399 GB, free: 61.93 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.005924/6.97, allocations: 3.563 MB / 3.402 GB, free: 58.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002344/6.972, allocations: 1.577 MB / 3.404 GB, free: 56.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/6.972, allocations: 4.562 kB / 3.404 GB, free: 56.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/6.973, allocations: 1.146 MB / 3.405 GB, free: 55.57 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/6.976, allocations: 400.8 kB / 3.405 GB, free: 55.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006931/6.983, allocations: 2.367 MB / 3.408 GB, free: 52.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000962/6.984, allocations: 1.296 MB / 3.409 GB, free: 51.44 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001882/6.986, allocations: 404.9 kB / 3.409 GB, free: 51.04 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008586/6.986, allocations: 0.6125 MB / 3.41 GB, free: 50.43 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/6.986, allocations: 3.938 kB / 3.41 GB, free: 50.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07552/7.062, allocations: 41.92 MB / 3.451 GB, free: 8.656 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/7.062, allocations: 182.9 kB / 3.451 GB, free: 8.461 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.856/10.92, allocations: 0 / 3.451 GB, free: 8.461 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)