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.272/2.272, allocations: 251 MB / 265.9 MB, free: 11.71 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.002335/0.002335, allocations: 189.5 kB / 325.5 MB, free: 2.895 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.363/2.363, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001174/0.001174, allocations: 102.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005081/0.0005078, allocations: 16.75 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2327, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.473, allocations: 135.5 MB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.4734, allocations: 83.95 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.4985, allocations: 5.435 MB / 1.037 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4986, allocations: 0 / 1.037 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.922e-05/0.4986, allocations: 8 kB / 1.037 GB, free: 4.262 MB / 0.6823 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.0008788/0.4995, allocations: 488.2 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.4996, allocations: 12.03 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/0.4997, allocations: 34.56 kB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.4997, allocations: 15.81 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.5003, allocations: 259.5 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.5003, allocations: 8 kB / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.5004, allocations: 4 kB / 1.037 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.5007, allocations: 83.38 kB / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5007, allocations: 0 / 1.037 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.5007, allocations: 7.984 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.5008, allocations: 7.984 kB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.5009, allocations: 35.92 kB / 1.037 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000849/0.5018, allocations: 368.7 kB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.5021, allocations: 82.61 kB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5022, allocations: 0 / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.5024, allocations: 83.44 kB / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.826e-06/0.5024, allocations: 0 / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0006389/0.5031, allocations: 234.5 kB / 1.038 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.5032, allocations: 77.11 kB / 1.038 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.5036, allocations: 242.1 kB / 1.038 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.5037, allocations: 25.7 kB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5038, allocations: 116.1 kB / 1.039 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.5039, allocations: 27.97 kB / 1.039 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5039, allocations: 4 kB / 1.039 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.504, allocations: 326.8 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.5042, allocations: 31.92 kB / 1.039 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.5043, allocations: 67.34 kB / 1.039 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.5045, allocations: 24 kB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.5045, allocations: 112 / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003518/0.5049, allocations: 129.4 kB / 1.039 GB, free: 1.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5049, allocations: 4 kB / 1.039 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5049, allocations: 0 / 1.039 GB, free: 1.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5049, allocations: 3.984 kB / 1.039 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.5051, allocations: 12 kB / 1.039 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5051, allocations: 3.953 kB / 1.039 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.5052, allocations: 11.84 kB / 1.039 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.5053, allocations: 8 kB / 1.039 GB, free: 1.207 MB / 0.6823 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 () * Number of clocked 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.0002062/0.5055, allocations: 149.8 kB / 1.039 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.5055, allocations: 15.81 kB / 1.039 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.506, allocations: 131 kB / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.506, allocations: 0 / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.506, allocations: 0 / 1.04 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.506, allocations: 7.953 kB / 1.04 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.5064, allocations: 225.6 kB / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.5064, allocations: 0 / 1.04 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.828e-05/0.5064, allocations: 8 kB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5065, allocations: 4 kB / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.5065, allocations: 0 / 1.04 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.5065, allocations: 3.938 kB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5065, allocations: 3.938 kB / 1.04 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.5069, allocations: 152.9 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.507, allocations: 100.9 kB / 1.04 GB, free: 324 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.5071, allocations: 4 kB / 1.04 GB, free: 320 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.5072, allocations: 8 kB / 1.04 GB, free: 312 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.5072, allocations: 8.078 kB / 1.04 GB, free: 304 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.5073, allocations: 7.938 kB / 1.04 GB, free: 296 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003221/0.5076, allocations: 200.1 kB / 1.04 GB, free: 96 kB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/0.5076, allocations: 0 / 1.04 GB, free: 96 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003791/0.508, allocations: 47.92 kB / 1.04 GB, free: 48 kB / 0.6823 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) * Number of clocked states: 0 () * 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.001997/0.51, allocations: 1.016 MB / 1.041 GB, free: 15.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004006/0.5105, allocations: 75.91 kB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5105, allocations: 0 / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.5106, allocations: 43.92 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/0.5111, allocations: 33 kB / 1.041 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.5136, allocations: 1.138 MB / 1.043 GB, free: 13.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.514, allocations: 0.736 MB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.5142, allocations: 25.38 kB / 1.043 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.5144, allocations: 51.42 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.263e-06/0.5144, allocations: 0 / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.5421, allocations: 4.118 MB / 1.047 GB, free: 9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/0.5425, allocations: 225.8 kB / 1.048 GB, free: 8.758 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.14, allocations: 0 / 1.048 GB, free: 8.758 MB / 0.698 GB