Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.337/2.337, allocations: 248.7 MB / 256.2 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002038/0.002037, allocations: 182.5 kB / 315.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.001129, allocations: 95.38 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.461e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.085/7.297, allocations: 2.21 GB / 3.094 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/7.298, allocations: 90.56 kB / 3.094 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.644/8.941, allocations: 303.9 MB / 3.391 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.384e-06/8.941, allocations: 7.5 kB / 3.391 GB, free: 189.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001847/8.942, allocations: 50.67 kB / 3.391 GB, free: 189.4 MB / 0.8698 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.00533/8.947, allocations: 1.755 MB / 3.393 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/8.947, allocations: 8.031 kB / 3.393 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005808/8.953, allocations: 0.5006 MB / 3.393 GB, free: 187.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/8.956, allocations: 0.9803 MB / 3.394 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/8.956, allocations: 56 kB / 3.394 GB, free: 186 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/8.957, allocations: 96 kB / 3.394 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004032/8.961, allocations: 1.607 MB / 3.396 GB, free: 184.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/8.964, allocations: 1.453 MB / 3.397 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/8.964, allocations: 4 kB / 3.397 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/8.965, allocations: 0 / 3.397 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/8.965, allocations: 40 kB / 3.397 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/8.976, allocations: 4.769 MB / 3.402 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/8.979, allocations: 1.148 MB / 3.403 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/8.98, allocations: 0.5229 MB / 3.403 GB, free: 176.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/8.981, allocations: 0.8061 MB / 3.404 GB, free: 175.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/8.983, allocations: 0.7302 MB / 3.405 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=137): time 4.218e-06/8.983, allocations: 0 / 3.405 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=137): time 0.005119/8.988, allocations: 1.277 MB / 3.406 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/8.988, allocations: 248.6 kB / 3.406 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/8.99, allocations: 0.6293 MB / 3.407 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004347/8.99, allocations: 29.7 kB / 3.407 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/8.991, allocations: 0.6365 MB / 3.408 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005037/8.991, allocations: 437.3 kB / 3.408 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/8.991, allocations: 0 / 3.408 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.906e-05/8.991, allocations: 353.9 kB / 3.408 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000922/8.992, allocations: 370.5 kB / 3.409 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/8.993, allocations: 0.5153 MB / 3.409 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/8.995, allocations: 458.2 kB / 3.41 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/8.995, allocations: 3.984 kB / 3.41 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004198/8.999, allocations: 1.226 MB / 3.411 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/8.999, allocations: 4 kB / 3.411 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/8.999, allocations: 12.02 kB / 3.411 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/9.001, allocations: 184.1 kB / 3.411 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002855/9.004, allocations: 291.6 kB / 3.411 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/9.009, allocations: 6.503 MB / 3.418 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/9.012, allocations: 119 kB / 3.418 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/9.012, allocations: 43.97 kB / 3.418 GB, free: 160.4 MB / 0.8698 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.0004775/9.012, allocations: 128.8 kB / 3.418 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004201/9.016, allocations: 1.226 MB / 3.419 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/9.017, allocations: 118.6 kB / 3.419 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/9.022, allocations: 1.544 MB / 3.421 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/9.022, allocations: 20 kB / 3.421 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/9.022, allocations: 7.953 kB / 3.421 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/9.022, allocations: 11.91 kB / 3.421 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/9.025, allocations: 1.24 MB / 3.422 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/9.025, allocations: 0 / 3.422 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002653/9.028, allocations: 295.6 kB / 3.422 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/9.029, allocations: 184.2 kB / 3.423 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/9.029, allocations: 19.97 kB / 3.423 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/9.035, allocations: 6.528 MB / 3.429 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/9.035, allocations: 288 / 3.429 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/9.04, allocations: 1.355 MB / 3.43 GB, free: 147 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002038/9.042, allocations: 411.1 kB / 3.431 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000615/9.043, allocations: 4 kB / 3.431 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/9.046, allocations: 103.7 kB / 3.431 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005812/9.047, allocations: 101.2 kB / 3.431 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004835/9.048, allocations: 71.89 kB / 3.431 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001578/9.049, allocations: 0.4952 MB / 3.431 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.92e-07/9.049, allocations: 4 kB / 3.431 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004046/9.053, allocations: 0.5984 MB / 3.432 GB, free: 145.2 MB / 0.8698 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) * 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.008172/9.061, allocations: 3.498 MB / 3.435 GB, free: 142 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00359/9.065, allocations: 1.554 MB / 3.437 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/9.065, allocations: 5.062 kB / 3.437 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002169/9.067, allocations: 1.138 MB / 3.438 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/9.071, allocations: 401.8 kB / 3.438 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/9.08, allocations: 2.453 MB / 3.441 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009195/9.081, allocations: 1.315 MB / 3.442 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002939/9.084, allocations: 420.8 kB / 3.443 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/9.085, allocations: 0.6164 MB / 3.443 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/9.085, allocations: 0 / 3.443 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/9.209, allocations: 41.84 MB / 3.484 GB, free: 92.21 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/9.21, allocations: 181.7 kB / 3.484 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.618/13.83, allocations: 0 / 3.484 GB, free: 92.02 MB / 0.8698 GB