Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7525/0.7525, allocations: 128.7 MB / 144.5 MB, free: 1.367 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 182.8 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205 MB / 408.9 MB, free: 9.703 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 105.9 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 56.22 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1514, allocations: 75.48 MB / 0.6317 GB, free: 33.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002655/0.1541, allocations: 1.834 MB / 0.6335 GB, free: 31.15 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1553, allocations: 0.944 MB / 0.6344 GB, free: 30.2 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1554, allocations: 0 / 0.6344 GB, free: 30.2 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005139/0.1559, allocations: 151.7 kB / 0.6345 GB, free: 30.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1561, allocations: 103.7 kB / 0.6346 GB, free: 29.95 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.1565, allocations: 130.6 kB / 0.6348 GB, free: 29.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1566, allocations: 163.6 kB / 0.6349 GB, free: 29.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1567, allocations: 25.11 kB / 0.6349 GB, free: 29.64 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.1568, allocations: 71.62 kB / 0.635 GB, free: 29.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.695e-05/0.1569, allocations: 59.77 kB / 0.6351 GB, free: 29.51 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.157, allocations: 4 kB / 0.6351 GB, free: 29.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1571, allocations: 55.95 kB / 0.6351 GB, free: 29.45 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.1572, allocations: 35.84 kB / 0.6352 GB, free: 29.42 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1572, allocations: 55.61 kB / 0.6352 GB, free: 29.36 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1574, allocations: 191.7 kB / 0.6354 GB, free: 29.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1574, allocations: 3.984 kB / 0.6354 GB, free: 29.17 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1575, allocations: 0 / 0.6354 GB, free: 29.17 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1575, allocations: 4 kB / 0.6354 GB, free: 29.17 MB / 442.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.0006995/0.1582, allocations: 496.3 kB / 0.6359 GB, free: 28.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1582, allocations: 8.031 kB / 0.6359 GB, free: 28.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1583, allocations: 16.75 kB / 0.6359 GB, free: 28.61 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.1585, allocations: 248.8 kB / 0.6361 GB, free: 28.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1585, allocations: 12.36 kB / 0.6361 GB, free: 28.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1586, allocations: 8.125 kB / 0.6362 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1587, allocations: 87.38 kB / 0.6362 GB, free: 28.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1588, allocations: 3.938 kB / 0.6362 GB, free: 28.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1588, allocations: 4 kB / 0.6362 GB, free: 28.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1588, allocations: 4 kB / 0.6362 GB, free: 28.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.1589, allocations: 31.98 kB / 0.6363 GB, free: 28.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.1593, allocations: 356.6 kB / 0.6366 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1595, allocations: 82.55 kB / 0.6367 GB, free: 27.68 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.1596, allocations: 36.86 kB / 0.6367 GB, free: 27.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1596, allocations: 4.094 kB / 0.6367 GB, free: 27.63 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.1597, allocations: 79.33 kB / 0.6368 GB, free: 27.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1597, allocations: 0 / 0.6368 GB, free: 27.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002862/0.16, allocations: 145.4 kB / 0.637 GB, free: 27.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1601, allocations: 81.09 kB / 0.637 GB, free: 27.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.1603, allocations: 263 kB / 0.6373 GB, free: 27.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1603, allocations: 25.7 kB / 0.6373 GB, free: 27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1604, allocations: 120 kB / 0.6374 GB, free: 26.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.1604, allocations: 23.73 kB / 0.6374 GB, free: 26.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.1604, allocations: 29.7 kB / 0.6375 GB, free: 26.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.1605, allocations: 334.8 kB / 0.6378 GB, free: 26.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.1605, allocations: 31.92 kB / 0.6378 GB, free: 26.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.1606, allocations: 59.41 kB / 0.6379 GB, free: 26.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1607, allocations: 69.7 kB / 0.6379 GB, free: 26.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1607, allocations: 0 / 0.6379 GB, free: 26.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001627/0.1609, allocations: 121.7 kB / 0.6381 GB, free: 26.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1609, allocations: 4 kB / 0.6381 GB, free: 26.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1609, allocations: 8 kB / 0.6381 GB, free: 26.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.161, allocations: 3.938 kB / 0.6381 GB, free: 26.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.161, allocations: 15.98 kB / 0.6381 GB, free: 26.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.161, allocations: 0 / 0.6381 GB, free: 26.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.1611, allocations: 7.938 kB / 0.6381 GB, free: 26.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1611, allocations: 4 kB / 0.6381 GB, free: 26.14 MB / 442.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.744e-05/0.1612, allocations: 141.8 kB / 0.6382 GB, free: 25.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.1612, allocations: 15.81 kB / 0.6382 GB, free: 25.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.1613, allocations: 21.39 kB / 0.6383 GB, free: 25.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1613, allocations: 4 kB / 0.6383 GB, free: 25.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1613, allocations: 0 / 0.6383 GB, free: 25.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1613, allocations: 3.938 kB / 0.6383 GB, free: 25.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1615, allocations: 217.6 kB / 0.6385 GB, free: 25.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1615, allocations: 3.938 kB / 0.6385 GB, free: 25.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.1615, allocations: 7.938 kB / 0.6385 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1615, allocations: 0 / 0.6385 GB, free: 25.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1615, allocations: 7.969 kB / 0.6385 GB, free: 25.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1615, allocations: 8 kB / 0.6385 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1615, allocations: 0 / 0.6385 GB, free: 25.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.162, allocations: 0.7408 MB / 0.6392 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.162, allocations: 96.86 kB / 0.6393 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.162, allocations: 3.938 kB / 0.6393 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.1621, allocations: 11.98 kB / 0.6393 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1621, allocations: 4 kB / 0.6393 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.1622, allocations: 7.984 kB / 0.6394 GB, free: 24.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1623, allocations: 196.4 kB / 0.6395 GB, free: 24.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1623, allocations: 0 / 0.6395 GB, free: 24.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.1626, allocations: 32 kB / 0.6396 GB, free: 24.5 MB / 442.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.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.0008756/0.1635, allocations: 434 kB / 0.64 GB, free: 24.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1637, allocations: 79.84 kB / 0.6401 GB, free: 24.15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1637, allocations: 0 / 0.6401 GB, free: 24.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.255e-05/0.1638, allocations: 39.92 kB / 0.6401 GB, free: 24.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1641, allocations: 39.91 kB / 0.6401 GB, free: 24.07 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.1646, allocations: 459.7 kB / 0.6406 GB, free: 23.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.1647, allocations: 0.7282 MB / 0.6413 GB, free: 22.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.1648, allocations: 21.72 kB / 0.6413 GB, free: 22.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.1648, allocations: 23.42 kB / 0.6413 GB, free: 22.79 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1648, allocations: 0 / 0.6413 GB, free: 22.79 MB / 442.7 MB Notification: Performance of Templates: time 0.004589/0.1694, allocations: 2.239 MB / 0.6435 GB, free: 20.56 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)