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.556/1.556, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001157/0.001157, allocations: 186.2 kB / 376.9 MB, free: 1.816 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.432/1.432, allocations: 205 MB / 0.6354 GB, free: 9.781 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.0009273/0.0009274, allocations: 103 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001142, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2354, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.003741/0.2392, allocations: 1.841 MB / 0.984 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2409, allocations: 0.9489 MB / 0.9849 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.241, allocations: 4 kB / 0.9849 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.2417, allocations: 151.7 kB / 0.9851 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.242, allocations: 95.7 kB / 0.9852 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.2425, allocations: 127.8 kB / 0.9853 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.2427, allocations: 171.6 kB / 0.9855 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2428, allocations: 25.11 kB / 0.9855 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.243, allocations: 63.69 kB / 0.9855 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.2431, allocations: 67.69 kB / 0.9856 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.2431, allocations: 4 kB / 0.9856 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2433, allocations: 55.91 kB / 0.9857 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.2434, allocations: 43.89 kB / 0.9857 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.466e-05/0.2434, allocations: 55.61 kB / 0.9858 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.2437, allocations: 191.7 kB / 0.9859 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2437, allocations: 0 / 0.9859 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.72e-07/0.2437, allocations: 0 / 0.9859 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.157e-06/0.2438, allocations: 0 / 0.9859 GB, free: 6.547 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.0008253/0.2446, allocations: 0.4885 MB / 0.9864 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2446, allocations: 8.031 kB / 0.9864 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.2447, allocations: 16.75 kB / 0.9864 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.2451, allocations: 256.7 kB / 0.9867 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.2451, allocations: 384 / 0.9867 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.2451, allocations: 8.125 kB / 0.9867 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.2453, allocations: 95.3 kB / 0.9868 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2454, allocations: 0 / 0.9868 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2454, allocations: 0 / 0.9868 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.2454, allocations: 7.938 kB / 0.9868 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.2455, allocations: 31.98 kB / 0.9868 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.2461, allocations: 352.8 kB / 0.9872 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2463, allocations: 74.61 kB / 0.9872 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.378e-05/0.2464, allocations: 36.84 kB / 0.9873 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.2465, allocations: 4 kB / 0.9873 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.2467, allocations: 75.39 kB / 0.9873 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/0.2467, allocations: 4 kB / 0.9873 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.000488/0.2472, allocations: 141.4 kB / 0.9875 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.2473, allocations: 81.11 kB / 0.9876 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.2476, allocations: 263.6 kB / 0.9878 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2477, allocations: 25.7 kB / 0.9878 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.583e-05/0.2478, allocations: 124.1 kB / 0.988 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.2478, allocations: 27.64 kB / 0.988 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.2479, allocations: 29.77 kB / 0.988 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.248, allocations: 338.7 kB / 0.9883 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/0.2481, allocations: 24 kB / 0.9884 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.2482, allocations: 59.41 kB / 0.9884 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2483, allocations: 74.11 kB / 0.9885 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2483, allocations: 3.938 kB / 0.9885 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002253/0.2486, allocations: 117.4 kB / 0.9886 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2486, allocations: 8 kB / 0.9886 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2486, allocations: 0 / 0.9886 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2486, allocations: 0 / 0.9886 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.2487, allocations: 11.98 kB / 0.9886 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.2487, allocations: 4 kB / 0.9886 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/0.2488, allocations: 15.88 kB / 0.9886 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.2488, allocations: 0 / 0.9886 GB, free: 3.527 MB / 0.7136 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 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.249, allocations: 154.4 kB / 0.9888 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.249, allocations: 11.81 kB / 0.9888 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.2491, allocations: 21.39 kB / 0.9888 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.2491, allocations: 8 kB / 0.9888 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2491, allocations: 0 / 0.9888 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2491, allocations: 3.938 kB / 0.9888 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2493, allocations: 225.6 kB / 0.989 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2493, allocations: 0 / 0.989 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.2494, allocations: 11.92 kB / 0.9891 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2494, allocations: 0 / 0.9891 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2494, allocations: 4 kB / 0.9891 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2494, allocations: 0 / 0.9891 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2494, allocations: 0 / 0.9891 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.25, allocations: 0.7525 MB / 0.9898 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.2501, allocations: 88.92 kB / 0.9899 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.2501, allocations: 7.922 kB / 0.9899 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.2501, allocations: 11.94 kB / 0.9899 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.2502, allocations: 4 kB / 0.9899 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2502, allocations: 3.984 kB / 0.9899 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001803/0.2504, allocations: 192.6 kB / 0.9901 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2504, allocations: 0 / 0.9901 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003408/0.2507, allocations: 28 kB / 0.9901 GB, free: 1.875 MB / 0.7136 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.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009826/0.2517, allocations: 438.2 kB / 0.9905 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.252, allocations: 71.97 kB / 0.9906 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.252, allocations: 0 / 0.9906 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.2521, allocations: 39.92 kB / 0.9906 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.2524, allocations: 34.92 kB / 0.9907 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.2531, allocations: 471.6 kB / 0.9911 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2535, allocations: 0.7243 MB / 0.9918 GB, free: 168 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.402e-05/0.2536, allocations: 29.64 kB / 0.9919 GB, free: 136 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.2536, allocations: 23.44 kB / 0.9919 GB, free: 112 kB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.2536, allocations: 0 / 0.9919 GB, free: 112 kB / 0.7136 GB Notification: Performance of Templates: time 0.005434/0.2591, allocations: 2.229 MB / 0.9941 GB, free: 13.89 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)