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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001312, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001307/0.001307, allocations: 189.8 kB / 16.14 MB, free: 6.723 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.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 282.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 97.66 kB / 0.6057 GB, free: 25.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1751, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003678/0.1789, allocations: 1.853 MB / 0.6946 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1807, allocations: 1.006 MB / 0.6956 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1808, allocations: 0 / 0.6956 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006679/0.1815, allocations: 159.7 kB / 0.6957 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.1819, allocations: 103.7 kB / 0.6958 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.1824, allocations: 154.7 kB / 0.696 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1826, allocations: 159.6 kB / 0.6961 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1828, allocations: 21.11 kB / 0.6962 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1829, allocations: 59.77 kB / 0.6962 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.183, allocations: 71.62 kB / 0.6963 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.183, allocations: 4 kB / 0.6963 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1832, allocations: 51.97 kB / 0.6963 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.1833, allocations: 39.89 kB / 0.6964 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.716e-05/0.1834, allocations: 59.55 kB / 0.6964 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.1837, allocations: 195.7 kB / 0.6966 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1837, allocations: 0 / 0.6966 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1837, allocations: 0 / 0.6966 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1837, allocations: 0 / 0.6966 GB, free: 0.9023 MB / 494.1 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.0007964/0.1845, allocations: 492.3 kB / 0.6971 GB, free: 376 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1845, allocations: 8.031 kB / 0.6971 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.1846, allocations: 20.69 kB / 0.6971 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1849, allocations: 260.8 kB / 0.6974 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.185, allocations: 384 / 0.6974 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.185, allocations: 12.12 kB / 0.6974 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1852, allocations: 83.38 kB / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1852, allocations: 0 / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1852, allocations: 0 / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.1852, allocations: 4 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1854, allocations: 39.92 kB / 0.6975 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.1859, allocations: 352.7 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1861, allocations: 78.61 kB / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.1862, allocations: 36.78 kB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1862, allocations: 4 kB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1864, allocations: 75.39 kB / 0.698 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1864, allocations: 0 / 0.698 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003544/0.1868, allocations: 149.4 kB / 0.6982 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.1868, allocations: 81.09 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1871, allocations: 260.1 kB / 0.6985 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.1872, allocations: 29.7 kB / 0.6985 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.355e-05/0.1873, allocations: 116.1 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.1873, allocations: 23.66 kB / 0.6986 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.1874, allocations: 33.7 kB / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1875, allocations: 326.8 kB / 0.699 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.1876, allocations: 31.98 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.1877, allocations: 63.39 kB / 0.6991 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1879, allocations: 73.73 kB / 0.6991 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1879, allocations: 0 / 0.6991 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002064/0.1881, allocations: 113.8 kB / 0.6993 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1881, allocations: 7.938 kB / 0.6993 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1881, allocations: 4 kB / 0.6993 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1881, allocations: 0 / 0.6993 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.1882, allocations: 15.92 kB / 0.6993 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1882, allocations: 0 / 0.6993 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.1883, allocations: 19.95 kB / 0.6993 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1883, allocations: 4 kB / 0.6993 GB, free: 13.88 MB / 0.4981 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.0001428/0.1885, allocations: 141.8 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.1885, allocations: 15.81 kB / 0.6995 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.1885, allocations: 25.39 kB / 0.6995 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.1886, allocations: 4 kB / 0.6995 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1886, allocations: 0 / 0.6995 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1886, allocations: 3.938 kB / 0.6995 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1888, allocations: 221.5 kB / 0.6997 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1888, allocations: 0 / 0.6997 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1888, allocations: 4 kB / 0.6997 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1888, allocations: 0 / 0.6997 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1889, allocations: 11.98 kB / 0.6997 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1889, allocations: 0 / 0.6997 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1889, allocations: 0 / 0.6997 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1892, allocations: 140.8 kB / 0.6998 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.1892, allocations: 96.91 kB / 0.6999 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.1893, allocations: 8 kB / 0.6999 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.1893, allocations: 0 / 0.6999 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.1894, allocations: 11.97 kB / 0.7 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1894, allocations: 7.938 kB / 0.7 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001894/0.1896, allocations: 191.3 kB / 0.7001 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.924e-06/0.1896, allocations: 0 / 0.7001 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002453/0.1898, allocations: 39.91 kB / 0.7002 GB, free: 12.88 MB / 0.4981 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.001507/0.1914, allocations: 430.4 kB / 0.7006 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1916, allocations: 67.97 kB / 0.7007 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1916, allocations: 0 / 0.7007 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.1917, allocations: 43.91 kB / 0.7007 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.192, allocations: 34.17 kB / 0.7007 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.1925, allocations: 332.8 kB / 0.7011 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1929, allocations: 0.7282 MB / 0.7018 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.286e-05/0.193, allocations: 21.72 kB / 0.7018 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.193, allocations: 15.44 kB / 0.7018 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.193, allocations: 0 / 0.7018 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.005665/0.1987, allocations: 2.194 MB / 0.7039 GB, free: 9.164 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)