Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001004/0.001004, allocations: 184.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0007778/0.0007778, allocations: 87.7 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.783e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6199/0.6199, allocations: 116.3 MB / 0.9732 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.7969, allocations: 142.2 MB / 1.112 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.7971, allocations: 81.03 kB / 1.112 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.8113, allocations: 5.36 MB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.8113, allocations: 0 / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.8114, allocations: 4 kB / 1.117 GB, free: 2.586 MB / 0.7136 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.0004862/0.8118, allocations: 461.7 kB / 1.118 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.8119, allocations: 8.031 kB / 1.118 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.812, allocations: 15.81 kB / 1.118 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003317/0.8123, allocations: 252.8 kB / 1.118 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.8123, allocations: 0 / 1.118 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.8123, allocations: 7.984 kB / 1.118 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/0.8125, allocations: 38.83 kB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.8126, allocations: 81.89 kB / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8126, allocations: 0 / 1.118 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.8126, allocations: 3.938 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.8127, allocations: 4 kB / 1.118 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.8131, allocations: 343.1 kB / 1.119 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.8132, allocations: 70.45 kB / 1.119 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.8133, allocations: 32.92 kB / 1.119 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.8133, allocations: 0 / 1.119 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.8135, allocations: 81.72 kB / 1.119 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 4.118e-06/0.8135, allocations: 96 / 1.119 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002568/0.8137, allocations: 117.4 kB / 1.119 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.8138, allocations: 80.11 kB / 1.119 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.814, allocations: 229.9 kB / 1.119 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.8141, allocations: 27.86 kB / 1.119 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.8141, allocations: 120 kB / 1.119 GB, free: 472 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.8142, allocations: 11.81 kB / 1.119 GB, free: 460 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.8142, allocations: 0 / 1.119 GB, free: 460 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8143, allocations: 345.9 kB / 1.12 GB, free: 108 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.883e-05/0.8143, allocations: 20 kB / 1.12 GB, free: 88 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.8144, allocations: 59.36 kB / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.8145, allocations: 36.06 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8145, allocations: 4.031 kB / 1.12 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001669/0.8147, allocations: 113.3 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.8147, allocations: 4 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.8147, allocations: 3 kB / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8147, allocations: 0 / 1.12 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.8148, allocations: 15.98 kB / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.8148, allocations: 0 / 1.12 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.8149, allocations: 7.938 kB / 1.12 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.8149, allocations: 4 kB / 1.12 GB, free: 15.82 MB / 0.7292 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 7.89e-05/0.815, allocations: 118.3 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.815, allocations: 19.91 kB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.8152, allocations: 123.4 kB / 1.12 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.8153, allocations: 4 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8153, allocations: 2.688 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.8153, allocations: 0 / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.8154, allocations: 210 kB / 1.12 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8155, allocations: 0 / 1.12 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/0.8155, allocations: 4 kB / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8155, allocations: 4 kB / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.8155, allocations: 7.984 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8155, allocations: 0 / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8155, allocations: 0 / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.8157, allocations: 146 kB / 1.121 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.8158, allocations: 104.9 kB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.8159, allocations: 0 / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.8159, allocations: 11.98 kB / 1.121 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.816, allocations: 4 kB / 1.121 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.816, allocations: 4 kB / 1.121 GB, free: 15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001486/0.8161, allocations: 187 kB / 1.121 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8161, allocations: 0 / 1.121 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000237/0.8164, allocations: 43.83 kB / 1.121 GB, free: 14.77 MB / 0.7292 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.0007954/0.8172, allocations: 379.5 kB / 1.121 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001536/0.8173, allocations: 71.97 kB / 1.121 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8174, allocations: 0 / 1.121 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.8174, allocations: 31.94 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.8177, allocations: 31.97 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/0.8181, allocations: 222 kB / 1.122 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.8183, allocations: 0.7319 MB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.111e-05/0.8184, allocations: 27.62 kB / 1.122 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.8185, allocations: 15.44 kB / 1.122 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.8185, allocations: 0 / 1.122 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.004564/0.823, allocations: 2.129 MB / 1.124 GB, free: 11.3 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)