Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006634/0.0006634, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009033/0.001567, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006787/0.0006787, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008897/0.001568, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9723/0.9723, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0926/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001338/0.001338, allocations: 234.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.002348, allocations: 483.1 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.734/0.734, allocations: 138.7 MB / 384.3 MB, free: 380 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06845/0.8024, allocations: 42.41 MB / 426.7 MB, free: 5.824 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 428.1 MB, free: 4.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.458e-06/1.067e-05, allocations: 2.312 kB / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002032/0.002043, allocations: 1.905 MB / 430 MB, free: 2.539 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.003596, allocations: 1.166 MB / 431.2 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.003681, allocations: 0 / 431.2 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.004081, allocations: 167.4 kB / 431.3 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.004345, allocations: 163.2 kB / 431.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.004654, allocations: 143.4 kB / 431.6 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.004846, allocations: 175.5 kB / 431.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.004929, allocations: 17.94 kB / 431.8 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.005083, allocations: 132.4 kB / 431.9 MB, free: 0.582 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.005174, allocations: 71.78 kB / 432 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.005191, allocations: 8 kB / 432 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.00532, allocations: 75.81 kB / 432.1 MB, free: 440 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.382e-05/0.005384, allocations: 39.86 kB / 432.1 MB, free: 400 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.005417, allocations: 23.94 kB / 432.1 MB, free: 376 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.005601, allocations: 151.4 kB / 432.3 MB, free: 224 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.005611, allocations: 3.938 kB / 432.3 MB, free: 220 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005612, allocations: 4 kB / 432.3 MB, free: 216 kB / 410.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.005621, allocations: 0 / 432.3 MB, free: 216 kB / 410.7 MB 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.1843/0.1899, allocations: 422.7 kB / 432.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1899, allocations: 9.625 kB / 432.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.19, allocations: 12.12 kB / 432.7 MB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.1902, allocations: 182.9 kB / 432.9 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1902, allocations: 7.984 kB / 432.9 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1903, allocations: 5 kB / 432.9 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1904, allocations: 54.81 kB / 433 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1904, allocations: 0 / 433 MB, free: 1.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1904, allocations: 9.219 kB / 433 MB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.1904, allocations: 2.875 kB / 433 MB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.1905, allocations: 14.53 kB / 433 MB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003148/0.1908, allocations: 203.8 kB / 433.2 MB, free: 1.488 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.599e-05/0.1909, allocations: 87.84 kB / 433.3 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.1909, allocations: 17.08 kB / 433.3 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1909, allocations: 0.875 kB / 433.3 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.191, allocations: 73.25 kB / 433.4 MB, free: 1.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.191, allocations: 0 / 433.4 MB, free: 1.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001496/0.1912, allocations: 74.94 kB / 433.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/0.1912, allocations: 54.67 kB / 433.5 MB, free: 1.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.1914, allocations: 224.5 kB / 433.7 MB, free: 17.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1914, allocations: 28.73 kB / 433.8 MB, free: 17.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.1915, allocations: 102.4 kB / 433.9 MB, free: 17.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1915, allocations: 25.08 kB / 433.9 MB, free: 17.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1915, allocations: 27.61 kB / 433.9 MB, free: 17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.1916, allocations: 333 kB / 434.2 MB, free: 16.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.1916, allocations: 15.42 kB / 434.2 MB, free: 16.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.1917, allocations: 54.56 kB / 434.3 MB, free: 16.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.5e-05/0.1917, allocations: 47.06 kB / 434.3 MB, free: 16.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1917, allocations: 4.969 kB / 434.4 MB, free: 16.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001036/0.1918, allocations: 76.28 kB / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1919, allocations: 10.53 kB / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1919, allocations: 0 / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1919, allocations: 0.6562 kB / 434.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/0.192, allocations: 13.22 kB / 434.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.192, allocations: 0.5156 kB / 434.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.192, allocations: 9.953 kB / 434.5 MB, free: 16.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.192, allocations: 6 kB / 434.5 MB, free: 16.56 MB / 426.7 MB 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 8.29e-05/0.1921, allocations: 121.9 kB / 434.6 MB, free: 16.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1921, allocations: 19.31 kB / 434.6 MB, free: 16.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.1922, allocations: 73.55 kB / 434.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.1923, allocations: 6.609 kB / 434.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.1923, allocations: 4.25 kB / 434.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1923, allocations: 1.172 kB / 434.7 MB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1924, allocations: 106.6 kB / 434.8 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1924, allocations: 0.5625 kB / 434.8 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.1924, allocations: 6.406 kB / 434.8 MB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.1924, allocations: 16.83 kB / 434.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1924, allocations: 4.719 kB / 434.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1924, allocations: 3.156 kB / 434.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.1924, allocations: 1.938 kB / 434.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1924, allocations: 4.594 kB / 434.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.255e-05/0.1925, allocations: 99.34 kB / 434.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1925, allocations: 5.156 kB / 434.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.1926, allocations: 9.109 kB / 434.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.1926, allocations: 6 kB / 434.9 MB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1926, allocations: 3.625 kB / 435 MB, free: 16.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.989e-05/0.1927, allocations: 69.78 kB / 435 MB, free: 16.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 1.844 kB / 435 MB, free: 16.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001936/0.1929, allocations: 41.09 kB / 435.1 MB, free: 16.23 MB / 426.7 MB 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.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 (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.001485/0.1944, allocations: 0.5618 MB / 435.6 MB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.1945, allocations: 43.09 kB / 435.7 MB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.1945, allocations: 8.766 kB / 435.7 MB, free: 16.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.1946, allocations: 30.86 kB / 435.7 MB, free: 16.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.1948, allocations: 229.2 kB / 435.9 MB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005364/0.1953, allocations: 276.2 kB / 436.2 MB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.373e-05/0.1954, allocations: 77.14 kB / 436.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.243e-05/0.1954, allocations: 17.3 kB / 436.3 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.1955, allocations: 78.33 kB / 436.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of SimCode: time 6.12e-07/0.1955, allocations: 1.156 kB / 436.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of Templates: time 0.005347/0.2008, allocations: 2.707 MB / 439.1 MB, free: 15.53 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4570119259878993]