Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.004106/0.004107, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001026/0.001026, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.7 MB / 0.5094 GB, free: 3.012 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 70.25 kB / 0.7258 GB, free: 8.984 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1761, allocations: 104.7 MB / 0.828 GB, free: 180 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002922/0.1791, allocations: 1.783 MB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1806, allocations: 0.9489 MB / 0.8307 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.1807, allocations: 3.938 kB / 0.8307 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.1813, allocations: 167.5 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.1816, allocations: 111.6 kB / 0.831 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1819, allocations: 135 kB / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1821, allocations: 171.6 kB / 0.8313 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1822, allocations: 28.81 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.1823, allocations: 79.62 kB / 0.8314 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.324e-05/0.1824, allocations: 67.73 kB / 0.8314 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1825, allocations: 8 kB / 0.8315 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1826, allocations: 55.97 kB / 0.8315 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.1827, allocations: 47.83 kB / 0.8316 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.1827, allocations: 59.61 kB / 0.8316 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.183, allocations: 199.4 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.183, allocations: 0 / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.535e-06/0.183, allocations: 3.984 kB / 0.8318 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.183, allocations: 0 / 0.8318 GB, free: 12.31 MB / 0.6544 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.0006403/0.1837, allocations: 492.3 kB / 0.8323 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1837, allocations: 11.97 kB / 0.8323 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1838, allocations: 20.66 kB / 0.8323 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.184, allocations: 248.9 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.1841, allocations: 4.375 kB / 0.8325 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1841, allocations: 8.125 kB / 0.8326 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1842, allocations: 95.31 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1843, allocations: 0 / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1843, allocations: 0 / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.1843, allocations: 8 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.1844, allocations: 31.98 kB / 0.8327 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1849, allocations: 356.6 kB / 0.833 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1851, allocations: 82.59 kB / 0.8331 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.1851, allocations: 32.8 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1852, allocations: 3.984 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.1853, allocations: 83.39 kB / 0.8332 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 3.136e-06/0.1853, allocations: 0 / 0.8332 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003272/0.1857, allocations: 145.4 kB / 0.8334 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1857, allocations: 77.11 kB / 0.8334 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.186, allocations: 263 kB / 0.8337 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.186, allocations: 29.7 kB / 0.8337 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.1861, allocations: 124 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1861, allocations: 19.72 kB / 0.8338 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.1862, allocations: 29.7 kB / 0.8339 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1863, allocations: 330.8 kB / 0.8342 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.1864, allocations: 27.98 kB / 0.8342 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.694e-05/0.1864, allocations: 63.34 kB / 0.8343 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1866, allocations: 73.64 kB / 0.8343 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1866, allocations: 0 / 0.8343 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001846/0.1868, allocations: 121.8 kB / 0.8345 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1868, allocations: 7.938 kB / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1868, allocations: 0 / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1868, allocations: 0 / 0.8345 GB, free: 9.312 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.621e-05/0.1869, allocations: 12 kB / 0.8345 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1869, allocations: 4.141 kB / 0.8345 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.187, allocations: 19.77 kB / 0.8345 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.187, allocations: 3.984 kB / 0.8345 GB, free: 9.273 MB / 0.6544 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.0001289/0.1871, allocations: 145.9 kB / 0.8346 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1872, allocations: 15.81 kB / 0.8347 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.1872, allocations: 17.39 kB / 0.8347 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.1872, allocations: 4.109 kB / 0.8347 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1872, allocations: 3.938 kB / 0.8347 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1872, allocations: 3.938 kB / 0.8347 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1875, allocations: 217.6 kB / 0.8349 GB, free: 8.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.1875, allocations: 4 kB / 0.8349 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.774e-05/0.1875, allocations: 3.938 kB / 0.8349 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1875, allocations: 8 kB / 0.8349 GB, free: 8.797 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1876, allocations: 3.984 kB / 0.8349 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1876, allocations: 4 kB / 0.8349 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1876, allocations: 0 / 0.8349 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.1878, allocations: 144.8 kB / 0.8351 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.1879, allocations: 96.91 kB / 0.8351 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1879, allocations: 0 / 0.8351 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.507e-05/0.1879, allocations: 4 kB / 0.8352 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.188, allocations: 11.98 kB / 0.8352 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.188, allocations: 11.92 kB / 0.8352 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000169/0.1882, allocations: 188.6 kB / 0.8354 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1882, allocations: 0 / 0.8354 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002251/0.1884, allocations: 39.92 kB / 0.8354 GB, free: 8.266 MB / 0.6544 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.0009124/0.1893, allocations: 412 kB / 0.8358 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1895, allocations: 75.91 kB / 0.8359 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1895, allocations: 0 / 0.8359 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.1896, allocations: 43.97 kB / 0.8359 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1899, allocations: 35.91 kB / 0.8359 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.1903, allocations: 291 kB / 0.8362 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1907, allocations: 0.7356 MB / 0.8369 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.857e-05/0.1907, allocations: 25.7 kB / 0.837 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.1908, allocations: 15.44 kB / 0.837 GB, free: 6.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.1908, allocations: 3.938 kB / 0.837 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of Templates: time 0.005042/0.1958, allocations: 2.307 MB / 0.8392 GB, free: 4.469 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)