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.001029/0.001029, allocations: 112.1 kB / 16.42 MB, free: 6.445 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.001012/0.001012, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.241/1.241, 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.002003/0.002003, allocations: 279.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9059/0.9059, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 95.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3866, allocations: 86.97 MB / 0.7671 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002706/0.3894, allocations: 1.781 MB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3908, allocations: 1.024 MB / 0.7698 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.3909, allocations: 7.938 kB / 0.7698 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.3915, allocations: 163.5 kB / 0.77 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.3917, allocations: 115.6 kB / 0.7701 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.3921, allocations: 165.7 kB / 0.7702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3924, allocations: 163.6 kB / 0.7704 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.874e-05/0.3925, allocations: 28.86 kB / 0.7704 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3926, allocations: 75.69 kB / 0.7705 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.3927, allocations: 63.77 kB / 0.7705 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3927, allocations: 12 kB / 0.7706 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.3929, allocations: 67.88 kB / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.393, allocations: 39.91 kB / 0.7707 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.393, allocations: 63.61 kB / 0.7707 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.3933, allocations: 201.6 kB / 0.7709 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3933, allocations: 0 / 0.7709 GB, free: 15.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3933, allocations: 0 / 0.7709 GB, free: 15.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3933, allocations: 0 / 0.7709 GB, free: 15.99 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.0006334/0.394, allocations: 0.4885 MB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.394, allocations: 12.03 kB / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.3941, allocations: 16.75 kB / 0.7714 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.3944, allocations: 244.9 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3944, allocations: 384 / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3944, allocations: 12.11 kB / 0.7717 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3946, allocations: 83.39 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3946, allocations: 3.984 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3946, allocations: 0 / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.3946, allocations: 11.98 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.3947, allocations: 43.86 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.3952, allocations: 348.6 kB / 0.7721 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.3954, allocations: 74.67 kB / 0.7722 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.778e-05/0.3955, allocations: 40.78 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3955, allocations: 4 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.3957, allocations: 83.31 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.3957, allocations: 0 / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003233/0.396, allocations: 141.4 kB / 0.7725 GB, free: 14.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.396, allocations: 77.11 kB / 0.7725 GB, free: 14.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.3963, allocations: 271.6 kB / 0.7728 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3963, allocations: 29.7 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3964, allocations: 116.1 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.3965, allocations: 27.64 kB / 0.773 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.3965, allocations: 25.7 kB / 0.773 GB, free: 13.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3966, allocations: 334.8 kB / 0.7733 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.3967, allocations: 23.98 kB / 0.7733 GB, free: 13.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.3968, allocations: 63.42 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.3969, allocations: 77.62 kB / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3969, allocations: 0 / 0.7735 GB, free: 13.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002119/0.3971, allocations: 113.4 kB / 0.7736 GB, free: 13.01 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3972, allocations: 4 kB / 0.7736 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3972, allocations: 4.375 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3972, allocations: 0 / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.3973, allocations: 8.062 kB / 0.7736 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3973, allocations: 4 kB / 0.7736 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.3973, allocations: 15.86 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3973, allocations: 8.047 kB / 0.7736 GB, free: 12.97 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.0001179/0.3975, allocations: 148.2 kB / 0.7737 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.3975, allocations: 15.81 kB / 0.7738 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.3976, allocations: 21.39 kB / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3976, allocations: 0 / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3976, allocations: 0 / 0.7738 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.3976, allocations: 96.92 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3977, allocations: 7.938 kB / 0.7739 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.075e-05/0.3977, allocations: 3.984 kB / 0.7739 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3977, allocations: 4 kB / 0.7739 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002224/0.398, allocations: 188.9 kB / 0.7741 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002495/0.3982, allocations: 298.5 kB / 0.7744 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.081e-05/0.3983, allocations: 35.98 kB / 0.7744 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001559/0.3985, allocations: 188.6 kB / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Backend: time 4.11e-07/0.3985, allocations: 0 / 0.7746 GB, free: 11.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.3997, allocations: 462.7 kB / 0.775 GB, free: 11.63 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006548/0.4004, allocations: 0.7376 MB / 0.7757 GB, free: 10.85 MB / 0.545 GB Notification: Performance of Templates: time 0.005161/0.4056, allocations: 2.373 MB / 0.778 GB, free: 8.516 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)