Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.578/2.578, allocations: 287.5 MB / 302.4 MB, free: 8.289 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.001384/0.001384, allocations: 182.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 85.12 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006814/0.0006816, allocations: 17.55 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.211, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002503/0.2136, allocations: 1.47 MB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.2154, allocations: 0.8756 MB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2155, allocations: 0 / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.2162, allocations: 151.7 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.2165, allocations: 95.64 kB / 0.9809 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.217, allocations: 123.5 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.2173, allocations: 147.6 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2174, allocations: 25.11 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2175, allocations: 59.7 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2176, allocations: 67.75 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.2177, allocations: 4 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2178, allocations: 51.91 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.2179, allocations: 35.83 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.218, allocations: 45.64 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.2182, allocations: 148 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2182, allocations: 0 / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2182, allocations: 4 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2183, allocations: 0 / 0.9816 GB, free: 25.07 MB / 0.6198 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.0006947/0.219, allocations: 472.3 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.219, allocations: 12.02 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.2191, allocations: 23.67 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.2194, allocations: 239.7 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.2194, allocations: 7.969 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.2195, allocations: 4 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.2197, allocations: 91.33 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2197, allocations: 0 / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.2198, allocations: 7.984 kB / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.2198, allocations: 0 / 0.9824 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2199, allocations: 39.94 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.2205, allocations: 340.7 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.2208, allocations: 82.61 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.688e-05/0.2209, allocations: 32.84 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.221, allocations: 0 / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.2212, allocations: 87.31 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.2212, allocations: 4 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0004401/0.2216, allocations: 145.3 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.2217, allocations: 77.11 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.222, allocations: 267.7 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.2221, allocations: 25.7 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.2221, allocations: 120 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.2222, allocations: 23.66 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.2222, allocations: 4.047 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.2223, allocations: 334.8 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.2224, allocations: 31.98 kB / 0.9839 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2225, allocations: 59.36 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.2226, allocations: 31.98 kB / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2226, allocations: 0 / 0.984 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002749/0.2229, allocations: 113.4 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.223, allocations: 4.062 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.223, allocations: 7.953 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.223, allocations: 4 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.2231, allocations: 11.94 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2231, allocations: 0 / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2233, allocations: 15.97 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.2233, allocations: 4 kB / 0.9842 GB, free: 22.14 MB / 0.6198 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.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,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.0001452/0.2234, allocations: 137.8 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.2235, allocations: 19.81 kB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.565e-05/0.2236, allocations: 17.41 kB / 0.9843 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.2236, allocations: 11.94 kB / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2236, allocations: 0 / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2236, allocations: 384 / 0.9843 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.2238, allocations: 221.4 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2239, allocations: 0 / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.2239, allocations: 4 kB / 0.9846 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2239, allocations: 7.938 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2239, allocations: 8 kB / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.224, allocations: 0 / 0.9846 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.224, allocations: 7.953 kB / 0.9846 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.2243, allocations: 140.8 kB / 0.9847 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.2243, allocations: 96.91 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.2244, allocations: 4 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.2245, allocations: 4 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.2245, allocations: 11.88 kB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2246, allocations: 11.97 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002445/0.2248, allocations: 200.4 kB / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2248, allocations: 0 / 0.985 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000324/0.2252, allocations: 35.98 kB / 0.9851 GB, free: 21.13 MB / 0.6198 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 (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.001164/0.2264, allocations: 418.1 kB / 0.9855 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.2267, allocations: 67.97 kB / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2267, allocations: 0 / 0.9855 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2268, allocations: 47.97 kB / 0.9856 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2273, allocations: 34.14 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.2279, allocations: 322.4 kB / 0.9859 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.2281, allocations: 0.7204 MB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001122/0.2282, allocations: 29.72 kB / 0.9866 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.2283, allocations: 15.44 kB / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/0.2283, allocations: 0 / 0.9867 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.006894/0.2352, allocations: 2.116 MB / 0.9887 GB, free: 17.49 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)