Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.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.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",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.485/2.485, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001428/0.001428, allocations: 182.6 kB / 315.4 MB, free: 3.984 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.083/2.083, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001116/0.001116, allocations: 101.6 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.444e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2064, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8805/1.087, allocations: 135.7 MB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.087, allocations: 73.09 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02619/1.113, allocations: 5.39 MB / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/1.114, allocations: 0 / 1.022 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.535e-05/1.114, allocations: 7.938 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007496/1.114, allocations: 462 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/1.114, allocations: 8.031 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.678e-05/1.115, allocations: 15.81 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/1.115, allocations: 251.2 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/1.115, allocations: 8 kB / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/1.115, allocations: 0 / 1.023 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001355/1.115, allocations: 33.42 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/1.115, allocations: 85.73 kB / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.116, allocations: 0 / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/1.116, allocations: 0 / 1.023 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/1.116, allocations: 4 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/1.116, allocations: 337.4 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/1.117, allocations: 72.81 kB / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/1.117, allocations: 32.03 kB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/1.117, allocations: 0 / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/1.117, allocations: 82.59 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/1.117, allocations: 3.938 kB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004291/1.117, allocations: 111.8 kB / 1.023 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/1.117, allocations: 85.09 kB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/1.118, allocations: 231.8 kB / 1.024 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/1.118, allocations: 25.7 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/1.118, allocations: 113.8 kB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/1.118, allocations: 19.34 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.118, allocations: 0 / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.118, allocations: 338.1 kB / 1.024 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/1.118, allocations: 26.94 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/1.118, allocations: 54.11 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/1.119, allocations: 35.2 kB / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.119, allocations: 0 / 1.024 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003049/1.119, allocations: 111.7 kB / 1.024 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.119, allocations: 12.06 kB / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.119, allocations: 0 / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.119, allocations: 0 / 1.024 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/1.119, allocations: 11.98 kB / 1.024 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/1.119, allocations: 4 kB / 1.024 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/1.119, allocations: 11.84 kB / 1.024 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/1.119, allocations: 7.953 kB / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.119, allocations: 113.1 kB / 1.025 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002858/1.12, allocations: 115.4 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/1.12, allocations: 15.81 kB / 1.025 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/1.12, allocations: 128.2 kB / 1.025 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.781e-05/1.12, allocations: 4 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.12, allocations: 3.953 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.12, allocations: 0 / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/1.121, allocations: 199.6 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.121, allocations: 3.938 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/1.121, allocations: 11.98 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.121, allocations: 0 / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/1.121, allocations: 4 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.121, allocations: 0 / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.121, allocations: 0 / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/1.121, allocations: 142.7 kB / 1.025 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/1.121, allocations: 107.8 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/1.121, allocations: 4 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/1.121, allocations: 3.984 kB / 1.025 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/1.121, allocations: 11.94 kB / 1.025 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/1.121, allocations: 4 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002805/1.122, allocations: 197.1 kB / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.122, allocations: 0 / 1.025 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003853/1.122, allocations: 35.92 kB / 1.026 GB, free: 11.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001725/1.124, allocations: 0.9371 MB / 1.026 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003129/1.124, allocations: 75.09 kB / 1.026 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/1.124, allocations: 0 / 1.026 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/1.124, allocations: 40.61 kB / 1.027 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/1.125, allocations: 39.19 kB / 1.027 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/1.126, allocations: 286.6 kB / 1.027 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/1.126, allocations: 0.7273 MB / 1.028 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001487/1.126, allocations: 25.5 kB / 1.028 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.126, allocations: 50.09 kB / 1.028 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/1.126, allocations: 8 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/1.172, allocations: 3.642 MB / 1.031 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/1.172, allocations: 169.8 kB / 1.031 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.491, allocations: 0 / 1.031 GB, free: 5.234 MB / 0.6511 GB