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.0009857/0.0009857, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001044/0.001044, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 301.7 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8839/0.8839, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3555, allocations: 86.96 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002871/0.3584, allocations: 1.778 MB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3599, allocations: 1.024 MB / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.039e-05/0.3599, allocations: 3.938 kB / 0.7698 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.3605, allocations: 170.4 kB / 0.77 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.3607, allocations: 111.6 kB / 0.7701 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.3611, allocations: 173.9 kB / 0.7702 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3613, allocations: 171.6 kB / 0.7704 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.3614, allocations: 20.88 kB / 0.7704 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.826e-05/0.3615, allocations: 79.67 kB / 0.7705 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.3617, allocations: 63.75 kB / 0.7706 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.3617, allocations: 8 kB / 0.7706 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.3618, allocations: 63.91 kB / 0.7706 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.359e-05/0.3619, allocations: 39.91 kB / 0.7707 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.362, allocations: 63.59 kB / 0.7707 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3622, allocations: 205.6 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3622, allocations: 0 / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3622, allocations: 0 / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3623, allocations: 0 / 0.7709 GB, free: 15.96 MB / 0.545 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.0006049/0.3629, allocations: 496.2 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.3629, allocations: 8.031 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.363, allocations: 16.75 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.3632, allocations: 244.9 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3632, allocations: 4.375 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3633, allocations: 12.06 kB / 0.7717 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3635, allocations: 91.38 kB / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3635, allocations: 0 / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3635, allocations: 0 / 0.7717 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.3635, allocations: 4 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.3636, allocations: 35.92 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.3641, allocations: 364.5 kB / 0.7721 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3643, allocations: 78.66 kB / 0.7722 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.406e-05/0.3643, allocations: 32.84 kB / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.3644, allocations: 0 / 0.7722 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/0.3645, allocations: 87.33 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.3645, allocations: 0 / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003167/0.3648, allocations: 149.3 kB / 0.7725 GB, free: 14.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3649, allocations: 77.11 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.3651, allocations: 263.6 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3652, allocations: 29.7 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.3652, allocations: 116.1 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.3653, allocations: 31.62 kB / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.3653, allocations: 25.72 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3654, allocations: 334.8 kB / 0.7733 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.3655, allocations: 24 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.884e-05/0.3656, allocations: 59.41 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3657, allocations: 73.64 kB / 0.7735 GB, free: 13.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3657, allocations: 0 / 0.7735 GB, free: 13.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000191/0.3659, allocations: 125.5 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.366, allocations: 4 kB / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.366, allocations: 0 / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.366, allocations: 0 / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.366, allocations: 15.98 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3661, allocations: 0 / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.3661, allocations: 4.375 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3661, allocations: 4.047 kB / 0.7736 GB, free: 12.95 MB / 0.545 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.000118/0.3663, allocations: 156.1 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.3663, allocations: 15.81 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.933e-05/0.3663, allocations: 21.33 kB / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3663, allocations: 0 / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3663, allocations: 0 / 0.7738 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.3664, allocations: 100.9 kB / 0.7739 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3664, allocations: 7.922 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.3665, allocations: 4 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.3665, allocations: 3.984 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00022/0.3668, allocations: 192.9 kB / 0.7741 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002578/0.367, allocations: 290.5 kB / 0.7744 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.824e-05/0.3671, allocations: 35.92 kB / 0.7744 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001693/0.3673, allocations: 192.6 kB / 0.7746 GB, free: 11.9 MB / 0.545 GB Notification: Performance of Backend: time 2.7e-07/0.3673, allocations: 4 kB / 0.7746 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.3685, allocations: 459 kB / 0.775 GB, free: 11.61 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006727/0.3692, allocations: 0.7352 MB / 0.7757 GB, free: 10.82 MB / 0.545 GB Notification: Performance of Templates: time 0.004838/0.374, allocations: 2.372 MB / 0.7781 GB, free: 8.488 MB / 0.545 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)