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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4632/0.4632, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 349.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 106.1 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001418, allocations: 63.89 kB / 0.4891 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4112, allocations: 70.07 MB / 0.5575 GB, free: 44.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003806/0.415, allocations: 1.817 MB / 0.5593 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.4166, allocations: 1.006 MB / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.404e-05/0.4167, allocations: 4 kB / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.4173, allocations: 155.7 kB / 0.5604 GB, free: 42.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.4175, allocations: 108.5 kB / 0.5605 GB, free: 42.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.4179, allocations: 151 kB / 0.5607 GB, free: 41.96 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.4181, allocations: 167.6 kB / 0.5608 GB, free: 41.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.4182, allocations: 29.11 kB / 0.5608 GB, free: 41.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.116e-05/0.4183, allocations: 59.7 kB / 0.5609 GB, free: 41.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.4184, allocations: 67.69 kB / 0.561 GB, free: 41.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.4184, allocations: 4 kB / 0.561 GB, free: 41.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.4186, allocations: 51.97 kB / 0.561 GB, free: 41.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.4186, allocations: 35.84 kB / 0.561 GB, free: 41.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.4187, allocations: 59.55 kB / 0.5611 GB, free: 41.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.4189, allocations: 189.5 kB / 0.5613 GB, free: 41.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4189, allocations: 4 kB / 0.5613 GB, free: 41.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4189, allocations: 0 / 0.5613 GB, free: 41.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4189, allocations: 0 / 0.5613 GB, free: 41.31 MB / 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.0006478/0.4196, allocations: 0.4885 MB / 0.5618 GB, free: 40.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4196, allocations: 12.03 kB / 0.5618 GB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.4197, allocations: 16.75 kB / 0.5618 GB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.42, allocations: 244.8 kB / 0.562 GB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.42, allocations: 8.375 kB / 0.562 GB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.42, allocations: 8.125 kB / 0.562 GB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.4202, allocations: 87.38 kB / 0.5621 GB, free: 40.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4202, allocations: 0 / 0.5621 GB, free: 40.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4202, allocations: 7.984 kB / 0.5621 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.4202, allocations: 4 kB / 0.5621 GB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.4203, allocations: 43.84 kB / 0.5622 GB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.4207, allocations: 348.7 kB / 0.5625 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.4209, allocations: 78.61 kB / 0.5626 GB, free: 39.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.421, allocations: 36.84 kB / 0.5626 GB, free: 39.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.421, allocations: 4 kB / 0.5626 GB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.4212, allocations: 79.28 kB / 0.5627 GB, free: 39.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.4212, allocations: 0 / 0.5627 GB, free: 39.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000316/0.4215, allocations: 153.3 kB / 0.5628 GB, free: 39.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.4216, allocations: 77.11 kB / 0.5629 GB, free: 39.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.4218, allocations: 263 kB / 0.5632 GB, free: 39.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.4218, allocations: 25.7 kB / 0.5632 GB, free: 39.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.4219, allocations: 120.1 kB / 0.5633 GB, free: 39.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.4219, allocations: 15.72 kB / 0.5633 GB, free: 39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.4219, allocations: 33.69 kB / 0.5634 GB, free: 38.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.422, allocations: 334.8 kB / 0.5637 GB, free: 38.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.4221, allocations: 27.98 kB / 0.5637 GB, free: 38.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.4222, allocations: 63.36 kB / 0.5638 GB, free: 38.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.4223, allocations: 73.69 kB / 0.5638 GB, free: 38.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4223, allocations: 0 / 0.5638 GB, free: 38.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001602/0.4224, allocations: 109.4 kB / 0.5639 GB, free: 38.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4225, allocations: 8.062 kB / 0.5639 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4225, allocations: 8 kB / 0.564 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4225, allocations: 0 / 0.564 GB, free: 38.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.824e-05/0.4226, allocations: 15.94 kB / 0.564 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4226, allocations: 0 / 0.564 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.4227, allocations: 16.16 kB / 0.564 GB, free: 38.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4227, allocations: 7.984 kB / 0.564 GB, free: 38.28 MB / 410.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 0.0001058/0.4228, allocations: 142.4 kB / 0.5641 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.4228, allocations: 23.75 kB / 0.5642 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.4229, allocations: 21.34 kB / 0.5642 GB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4229, allocations: 3.984 kB / 0.5642 GB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4229, allocations: 4 kB / 0.5642 GB, free: 38.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4229, allocations: 3.938 kB / 0.5642 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.423, allocations: 217.6 kB / 0.5644 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4231, allocations: 0 / 0.5644 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.4231, allocations: 4 kB / 0.5644 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4231, allocations: 0 / 0.5644 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4231, allocations: 0 / 0.5644 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4231, allocations: 4 kB / 0.5644 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4231, allocations: 4.156 kB / 0.5644 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.4235, allocations: 0.7525 MB / 0.5651 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.4236, allocations: 100.8 kB / 0.5652 GB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.4236, allocations: 3.938 kB / 0.5652 GB, free: 36.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.4237, allocations: 4 kB / 0.5652 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4237, allocations: 11.98 kB / 0.5653 GB, free: 36.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.4237, allocations: 4 kB / 0.5653 GB, free: 36.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.4238, allocations: 196.2 kB / 0.5654 GB, free: 36.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4239, allocations: 0 / 0.5654 GB, free: 36.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.4242, allocations: 31.98 kB / 0.5655 GB, free: 36.62 MB / 410.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.0008973/0.4251, allocations: 438.3 kB / 0.5659 GB, free: 36.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.4253, allocations: 71.92 kB / 0.566 GB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4253, allocations: 0 / 0.566 GB, free: 36.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.4254, allocations: 39.92 kB / 0.566 GB, free: 36.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.4256, allocations: 39.77 kB / 0.566 GB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.4262, allocations: 471.6 kB / 0.5665 GB, free: 35.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.4264, allocations: 0.7282 MB / 0.5672 GB, free: 34.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.924e-05/0.4265, allocations: 25.72 kB / 0.5672 GB, free: 34.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.4265, allocations: 15.44 kB / 0.5672 GB, free: 34.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4265, allocations: 0 / 0.5672 GB, free: 34.9 MB / 410.7 MB Notification: Performance of Templates: time 0.004473/0.431, allocations: 2.233 MB / 0.5694 GB, free: 32.69 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (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)