Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.552/2.552, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001486/0.001486, allocations: 176.8 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001121/0.00112, allocations: 90.66 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.041e-05, allocations: 4 kB / 0.8508 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.8311, allocations: 115.3 MB / 0.9634 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.238/7.07, allocations: 2.091 GB / 3.054 GB, free: 28.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/7.07, allocations: 88.92 kB / 3.054 GB, free: 28.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.778/8.848, allocations: 307.8 MB / 3.355 GB, free: 112.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/8.848, allocations: 4 kB / 3.355 GB, free: 112.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001954/8.848, allocations: 47.92 kB / 3.355 GB, free: 112.7 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.006004/8.854, allocations: 1.733 MB / 3.356 GB, free: 110.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/8.854, allocations: 12.03 kB / 3.356 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005909/8.86, allocations: 0.4933 MB / 3.357 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/8.863, allocations: 0.9622 MB / 3.358 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/8.864, allocations: 52 kB / 3.358 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005535/8.864, allocations: 96 kB / 3.358 GB, free: 109.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004919/8.869, allocations: 1.607 MB / 3.36 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005124/8.874, allocations: 1.429 MB / 3.361 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.409e-05/8.874, allocations: 4 kB / 3.361 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/8.875, allocations: 3.953 kB / 3.361 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/8.875, allocations: 40 kB / 3.361 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/8.888, allocations: 4.519 MB / 3.365 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/8.892, allocations: 1.507 MB / 3.367 GB, free: 99.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/8.893, allocations: 0.5385 MB / 3.367 GB, free: 99.26 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/8.894, allocations: 0.8 MB / 3.368 GB, free: 98.29 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/8.896, allocations: 0.7216 MB / 3.369 GB, free: 97.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=137): time 5.74e-06/8.896, allocations: 0 / 3.369 GB, free: 97.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=137): time 0.006097/8.902, allocations: 1.281 MB / 3.37 GB, free: 96.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/8.903, allocations: 252.6 kB / 3.37 GB, free: 95.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/8.904, allocations: 0.6096 MB / 3.371 GB, free: 95.32 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004836/8.905, allocations: 29.7 kB / 3.371 GB, free: 95.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006629/8.905, allocations: 0.617 MB / 3.372 GB, free: 94.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008703/8.906, allocations: 441.2 kB / 3.372 GB, free: 94.22 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002846/8.906, allocations: 0 / 3.372 GB, free: 94.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002999/8.907, allocations: 353.9 kB / 3.372 GB, free: 93.87 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002217/8.909, allocations: 378.5 kB / 3.373 GB, free: 93.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/8.91, allocations: 0.523 MB / 3.373 GB, free: 92.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/8.912, allocations: 462.2 kB / 3.374 GB, free: 92.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/8.912, allocations: 4 kB / 3.374 GB, free: 92.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004732/8.917, allocations: 1.242 MB / 3.375 GB, free: 91.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/8.917, allocations: 4 kB / 3.375 GB, free: 91.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/8.917, allocations: 4 kB / 3.375 GB, free: 91.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/8.918, allocations: 184.2 kB / 3.375 GB, free: 91.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00293/8.921, allocations: 291.6 kB / 3.375 GB, free: 90.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/8.928, allocations: 6.511 MB / 3.382 GB, free: 83.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/8.93, allocations: 107.2 kB / 3.382 GB, free: 83.53 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003337/8.931, allocations: 47.97 kB / 3.382 GB, free: 83.48 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.0004925/8.931, allocations: 139.7 kB / 3.382 GB, free: 83.34 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004737/8.936, allocations: 1.23 MB / 3.383 GB, free: 82.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000757/8.937, allocations: 114.7 kB / 3.383 GB, free: 81.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/8.943, allocations: 1.567 MB / 3.385 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/8.943, allocations: 15.94 kB / 3.385 GB, free: 80.36 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/8.943, allocations: 4 kB / 3.385 GB, free: 80.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.732e-05/8.943, allocations: 11.97 kB / 3.385 GB, free: 80.35 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009678/8.952, allocations: 2.929 MB / 3.388 GB, free: 77.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/8.952, allocations: 0 / 3.388 GB, free: 77.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002936/8.955, allocations: 307.6 kB / 3.388 GB, free: 77.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/8.957, allocations: 196.1 kB / 3.388 GB, free: 76.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/8.957, allocations: 19.97 kB / 3.388 GB, free: 76.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006164/8.963, allocations: 6.519 MB / 3.395 GB, free: 69.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/8.964, allocations: 3.953 kB / 3.395 GB, free: 69.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004895/8.968, allocations: 1.426 MB / 3.396 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/8.97, allocations: 399.1 kB / 3.396 GB, free: 67.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004118/8.97, allocations: 4 kB / 3.396 GB, free: 67.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00244/8.973, allocations: 99.73 kB / 3.397 GB, free: 67.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/8.973, allocations: 97.17 kB / 3.397 GB, free: 67.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000274/8.974, allocations: 63.95 kB / 3.397 GB, free: 67.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009892/8.975, allocations: 499 kB / 3.397 GB, free: 67.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.21e-07/8.975, allocations: 4 kB / 3.397 GB, free: 67.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003284/8.978, allocations: 0.5881 MB / 3.398 GB, free: 66.53 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.008899/8.987, allocations: 3.576 MB / 3.401 GB, free: 63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003921/8.991, allocations: 1.569 MB / 3.403 GB, free: 61.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/8.991, allocations: 8.562 kB / 3.403 GB, free: 61.37 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/8.993, allocations: 1.142 MB / 3.404 GB, free: 60.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/8.997, allocations: 398.1 kB / 3.404 GB, free: 59.79 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/9.007, allocations: 2.371 MB / 3.407 GB, free: 57.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009956/9.008, allocations: 1.296 MB / 3.408 GB, free: 56.05 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003215/9.012, allocations: 412.8 kB / 3.408 GB, free: 55.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/9.014, allocations: 0.6086 MB / 3.409 GB, free: 55.03 MB / 0.948 GB Notification: Performance of SimCode: time 1.643e-06/9.014, allocations: 0 / 3.409 GB, free: 55.03 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1647/9.178, allocations: 41.91 MB / 3.45 GB, free: 13.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/9.179, allocations: 170.8 kB / 3.45 GB, free: 13.04 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.9/14.08, allocations: 3.938 kB / 3.45 GB, free: 13.03 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)