Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001243/0.001243, allocations: 189.8 kB / 326.5 MB, free: 2.262 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.86/1.86, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009671/0.000967, allocations: 97.42 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 15.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.081/5.307, allocations: 2.21 GB / 3.11 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/5.308, allocations: 87.95 kB / 3.11 GB, free: 8.812 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.135/6.443, allocations: 307.6 MB / 3.41 GB, free: 64.65 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.635e-06/6.443, allocations: 3.938 kB / 3.41 GB, free: 64.64 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001368/6.443, allocations: 47.92 kB / 3.41 GB, free: 64.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004155/6.447, allocations: 1.922 MB / 3.412 GB, free: 62.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/6.447, allocations: 8.031 kB / 3.412 GB, free: 62.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/6.447, allocations: 244.6 kB / 3.413 GB, free: 62.35 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/6.451, allocations: 0.4933 MB / 3.413 GB, free: 61.86 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/6.453, allocations: 0.9893 MB / 3.414 GB, free: 60.82 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/6.453, allocations: 123.3 kB / 3.414 GB, free: 60.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/6.453, allocations: 160 kB / 3.414 GB, free: 60.55 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/6.456, allocations: 1.756 MB / 3.416 GB, free: 58.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/6.456, allocations: 4 kB / 3.416 GB, free: 58.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/6.457, allocations: 76 kB / 3.416 GB, free: 58.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/6.457, allocations: 40 kB / 3.416 GB, free: 58.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/6.46, allocations: 1.788 MB / 3.418 GB, free: 56.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007749/6.467, allocations: 5.048 MB / 3.423 GB, free: 51.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/6.47, allocations: 1.335 MB / 3.424 GB, free: 50.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007936/6.47, allocations: 0.8117 MB / 3.425 GB, free: 49.21 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/6.472, allocations: 0.8148 MB / 3.426 GB, free: 48.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=137): time 3.787e-06/6.472, allocations: 0 / 3.426 GB, free: 48.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=137): time 0.005471/6.477, allocations: 2.43 MB / 3.428 GB, free: 45.83 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/6.477, allocations: 252.6 kB / 3.428 GB, free: 45.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/6.478, allocations: 0.7509 MB / 3.429 GB, free: 44.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001711/6.479, allocations: 57.7 kB / 3.429 GB, free: 44.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/6.479, allocations: 0.6366 MB / 3.43 GB, free: 44.06 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/6.479, allocations: 457.2 kB / 3.43 GB, free: 43.61 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/6.479, allocations: 23.94 kB / 3.43 GB, free: 43.59 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/6.48, allocations: 357.9 kB / 3.431 GB, free: 43.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/6.48, allocations: 434.4 kB / 3.431 GB, free: 42.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/6.481, allocations: 0.5841 MB / 3.432 GB, free: 42.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008615/6.482, allocations: 0.5001 MB / 3.432 GB, free: 41.68 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/6.482, allocations: 0 / 3.432 GB, free: 41.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00292/6.485, allocations: 1.39 MB / 3.433 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/6.485, allocations: 4 kB / 3.433 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/6.485, allocations: 4 kB / 3.433 GB, free: 40.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/6.486, allocations: 192.1 kB / 3.434 GB, free: 40.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/6.487, allocations: 299.6 kB / 3.434 GB, free: 39.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/6.492, allocations: 6.816 MB / 3.44 GB, free: 32.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/6.493, allocations: 150.9 kB / 3.441 GB, free: 32.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/6.493, allocations: 51.95 kB / 3.441 GB, free: 32.08 MB / 0.8855 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 () * Number of clocked 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.000929/6.494, allocations: 368.2 kB / 3.441 GB, free: 31.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/6.494, allocations: 126.5 kB / 3.441 GB, free: 31.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/6.498, allocations: 1.74 MB / 3.443 GB, free: 29.82 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/6.498, allocations: 16 kB / 3.443 GB, free: 29.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/6.498, allocations: 0 / 3.443 GB, free: 29.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/6.498, allocations: 7.969 kB / 3.443 GB, free: 29.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/6.5, allocations: 1.484 MB / 3.444 GB, free: 28.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/6.5, allocations: 0 / 3.444 GB, free: 28.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/6.501, allocations: 299.6 kB / 3.445 GB, free: 27.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007546/6.502, allocations: 188.1 kB / 3.445 GB, free: 27.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/6.502, allocations: 35.97 kB / 3.445 GB, free: 27.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/6.506, allocations: 6.854 MB / 3.452 GB, free: 20.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/6.506, allocations: 4 kB / 3.452 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/6.509, allocations: 1.527 MB / 3.453 GB, free: 18.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000892/6.51, allocations: 422.9 kB / 3.453 GB, free: 18.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/6.51, allocations: 28 kB / 3.453 GB, free: 18.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/6.511, allocations: 119.9 kB / 3.454 GB, free: 18.07 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/6.512, allocations: 105.1 kB / 3.454 GB, free: 17.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/6.512, allocations: 67.95 kB / 3.454 GB, free: 17.89 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007745/6.513, allocations: 0.6007 MB / 3.454 GB, free: 17.28 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/6.513, allocations: 0 / 3.454 GB, free: 17.28 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002222/6.515, allocations: 0.6663 MB / 3.455 GB, free: 16.61 MB / 0.8855 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * 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.005733/6.521, allocations: 3.607 MB / 3.458 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002846/6.523, allocations: 1.731 MB / 3.46 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/6.524, allocations: 0.9375 kB / 3.46 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/6.525, allocations: 1.251 MB / 3.461 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/6.527, allocations: 438.4 kB / 3.462 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/6.542, allocations: 8.275 MB / 3.47 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.481/7.023, allocations: 1.306 MB / 3.471 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002451/7.026, allocations: 434.6 kB / 3.472 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/7.027, allocations: 0.6094 MB / 3.472 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/7.027, allocations: 0 / 3.472 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/7.141, allocations: 52.38 MB / 3.523 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/7.141, allocations: 269 kB / 3.524 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.923/11.06, allocations: 0 / 3.524 GB, free: 224.6 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)