Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 111 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 201.9 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9127/0.9127, allocations: 128.4 MB / 426.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 60.62 kB / 0.5912 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1782, allocations: 83.28 MB / 0.6725 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003783/0.182, allocations: 1.775 MB / 0.6742 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1839, allocations: 1.037 MB / 0.6752 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.184, allocations: 0 / 0.6752 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006364/0.1846, allocations: 175.5 kB / 0.6754 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.1849, allocations: 111.6 kB / 0.6755 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1853, allocations: 170.3 kB / 0.6757 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.1856, allocations: 155.6 kB / 0.6758 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1857, allocations: 21.09 kB / 0.6758 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.1858, allocations: 71.7 kB / 0.6759 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1859, allocations: 79.73 kB / 0.676 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.186, allocations: 8 kB / 0.676 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1861, allocations: 63.94 kB / 0.676 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.1862, allocations: 47.78 kB / 0.6761 GB, free: 168 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1863, allocations: 59.61 kB / 0.6761 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1866, allocations: 199.2 kB / 0.6763 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1866, allocations: 0 / 0.6763 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1866, allocations: 0 / 0.6763 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1866, allocations: 0 / 0.6763 GB, free: 15.91 MB / 0.5137 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.0008499/0.1875, allocations: 0.5021 MB / 0.6768 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1875, allocations: 8.031 kB / 0.6768 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.1876, allocations: 16.84 kB / 0.6768 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.188, allocations: 249 kB / 0.6771 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.188, allocations: 384 / 0.6771 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1881, allocations: 12.12 kB / 0.6771 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1883, allocations: 87.31 kB / 0.6772 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1883, allocations: 4 kB / 0.6772 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1883, allocations: 4 kB / 0.6772 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.1883, allocations: 0 / 0.6772 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.1884, allocations: 35.98 kB / 0.6772 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.189, allocations: 360.6 kB / 0.6776 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1892, allocations: 66.61 kB / 0.6776 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.1892, allocations: 36.84 kB / 0.6777 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1893, allocations: 0 / 0.6777 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.1894, allocations: 79.33 kB / 0.6777 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1894, allocations: 4 kB / 0.6777 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003362/0.1898, allocations: 137.6 kB / 0.6779 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.1898, allocations: 85.2 kB / 0.678 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.1901, allocations: 274.6 kB / 0.6782 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.1902, allocations: 29.7 kB / 0.6782 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.461e-05/0.1902, allocations: 116 kB / 0.6784 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.1903, allocations: 23.8 kB / 0.6784 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.1903, allocations: 37.69 kB / 0.6784 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1905, allocations: 330.8 kB / 0.6787 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/0.1906, allocations: 31.98 kB / 0.6788 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1907, allocations: 59.41 kB / 0.6788 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1908, allocations: 73.64 kB / 0.6789 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1908, allocations: 0 / 0.6789 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002095/0.191, allocations: 121.8 kB / 0.679 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.191, allocations: 8 kB / 0.679 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.191, allocations: 0 / 0.679 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.191, allocations: 64 / 0.679 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-05/0.1911, allocations: 15.98 kB / 0.679 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1911, allocations: 4 kB / 0.679 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1912, allocations: 11.94 kB / 0.679 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1912, allocations: 0 / 0.679 GB, free: 12.87 MB / 0.5137 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.0001372/0.1913, allocations: 145.8 kB / 0.6792 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1914, allocations: 11.91 kB / 0.6792 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.1916, allocations: 123 kB / 0.6793 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.1916, allocations: 11.98 kB / 0.6793 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1917, allocations: 0 / 0.6793 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1917, allocations: 3.938 kB / 0.6793 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1919, allocations: 225.5 kB / 0.6795 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1919, allocations: 4 kB / 0.6795 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.1919, allocations: 0 / 0.6795 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1919, allocations: 4 kB / 0.6796 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1919, allocations: 3.938 kB / 0.6796 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1919, allocations: 3.938 kB / 0.6796 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1919, allocations: 0 / 0.6796 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.1922, allocations: 156.9 kB / 0.6797 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.214e-05/0.1922, allocations: 89.02 kB / 0.6798 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1923, allocations: 0 / 0.6798 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.414e-05/0.1923, allocations: 11.98 kB / 0.6798 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1924, allocations: 0 / 0.6798 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1924, allocations: 15.88 kB / 0.6798 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000198/0.1926, allocations: 196.4 kB / 0.68 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1926, allocations: 0 / 0.68 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002361/0.1928, allocations: 39.88 kB / 0.68 GB, free: 11.75 MB / 0.5137 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.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * 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.001501/0.1943, allocations: 419.2 kB / 0.6804 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.1945, allocations: 67.91 kB / 0.6805 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1945, allocations: 0 / 0.6805 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.1946, allocations: 31.98 kB / 0.6805 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1949, allocations: 44.28 kB / 0.6806 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.1954, allocations: 306.8 kB / 0.6809 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1958, allocations: 0.724 MB / 0.6816 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.796e-05/0.1959, allocations: 21.42 kB / 0.6816 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.1959, allocations: 19.44 kB / 0.6816 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.1959, allocations: 0 / 0.6816 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of Templates: time 0.006062/0.202, allocations: 2.314 MB / 0.6839 GB, free: 7.93 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480]