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 1.601/1.601, allocations: 287.4 MB / 303.2 MB, free: 8.238 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.0009072/0.0009072, allocations: 173.9 kB / 371.8 MB, free: 10.81 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.357/1.357, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0008641/0.0008641, allocations: 100.9 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.0006031, allocations: 12.42 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1892, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001706/0.191, allocations: 1.458 MB / 0.9807 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1922, allocations: 0.8764 MB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.1922, allocations: 3.938 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.1927, allocations: 155.6 kB / 0.9817 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1929, allocations: 91.77 kB / 0.9818 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1933, allocations: 130.8 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1934, allocations: 147.6 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.1935, allocations: 17.12 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.1936, allocations: 67.69 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.1937, allocations: 55.77 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1937, allocations: 7.984 kB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.1938, allocations: 51.91 kB / 0.9823 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.1939, allocations: 35.84 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.1939, allocations: 53.58 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.1941, allocations: 148 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1941, allocations: 0 / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1941, allocations: 0 / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1941, allocations: 0 / 0.9825 GB, free: 24.86 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.0005319/0.1947, allocations: 472.4 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1947, allocations: 8.031 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1948, allocations: 20.66 kB / 0.983 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.195, allocations: 244.9 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.195, allocations: 8.312 kB / 0.9832 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.195, allocations: 12.12 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1952, allocations: 87.36 kB / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1952, allocations: 0 / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1952, allocations: 0 / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.1953, allocations: 11.97 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.1954, allocations: 35.98 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.1958, allocations: 356.6 kB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1959, allocations: 70.67 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.196, allocations: 32.84 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.196, allocations: 3.938 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.1962, allocations: 83.38 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.1962, allocations: 0 / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002575/0.1964, allocations: 149.3 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.1965, allocations: 77.11 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.1967, allocations: 259.7 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1967, allocations: 33.7 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.1967, allocations: 116.1 kB / 0.9845 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.1968, allocations: 27.66 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.1968, allocations: 0 / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.1968, allocations: 334.9 kB / 0.9848 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.1969, allocations: 27.94 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.197, allocations: 59.41 kB / 0.9849 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1971, allocations: 77.67 kB / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1971, allocations: 0 / 0.985 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001618/0.1972, allocations: 113.4 kB / 0.9851 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1973, allocations: 4 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1973, allocations: 0 / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1973, allocations: 4 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-05/0.1974, allocations: 11.98 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1974, allocations: 384 / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.1974, allocations: 7.906 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1974, allocations: 11.97 kB / 0.9851 GB, free: 21.9 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.0001081/0.1976, allocations: 149.7 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1976, allocations: 19.75 kB / 0.9853 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.1976, allocations: 21.39 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1976, allocations: 0 / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1976, allocations: 0 / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.1977, allocations: 96.91 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1977, allocations: 7.938 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.336e-05/0.1978, allocations: 12 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.1978, allocations: 3.984 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001823/0.198, allocations: 188.9 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000185/0.1982, allocations: 286.5 kB / 0.9859 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.395e-05/0.1983, allocations: 43.97 kB / 0.9859 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001348/0.1984, allocations: 196.4 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of Backend: time 3.91e-07/0.1984, allocations: 3.938 kB / 0.9861 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.1996, allocations: 454.1 kB / 0.9865 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005099/0.2001, allocations: 0.7626 MB / 0.9873 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.004303/0.2044, allocations: 2.183 MB / 0.9894 GB, free: 17.58 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)