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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.002035/0.002035, allocations: 196.3 kB / 16.91 MB, free: 6.188 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.516/1.516, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8451/0.8451, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 64.09 kB / 0.4945 GB, free: 3.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3928, allocations: 78.7 MB / 0.5713 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003462/0.3963, allocations: 1.826 MB / 0.5731 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.398, allocations: 1.006 MB / 0.5741 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.3981, allocations: 1.062 kB / 0.5741 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.3988, allocations: 157.9 kB / 0.5742 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.3991, allocations: 104.6 kB / 0.5743 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.3996, allocations: 160 kB / 0.5745 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002812/0.3999, allocations: 161.1 kB / 0.5746 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4001, allocations: 36.59 kB / 0.5747 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.4002, allocations: 76.19 kB / 0.5747 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.4004, allocations: 68.02 kB / 0.5748 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.4004, allocations: 7.781 kB / 0.5748 GB, free: 29.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001727/0.4006, allocations: 70.17 kB / 0.5749 GB, free: 29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.4006, allocations: 39.16 kB / 0.5749 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.4007, allocations: 61.23 kB / 0.575 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.4011, allocations: 191 kB / 0.5752 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4011, allocations: 4 kB / 0.5752 GB, free: 28.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4011, allocations: 0.7031 kB / 0.5752 GB, free: 28.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.4011, allocations: 0 / 0.5752 GB, free: 28.87 MB / 446.1 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.00071/0.4019, allocations: 0.4913 MB / 0.5757 GB, free: 28.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.4019, allocations: 9.688 kB / 0.5757 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.402, allocations: 17.58 kB / 0.5757 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.4023, allocations: 249.5 kB / 0.5759 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4023, allocations: 2.5 kB / 0.5759 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.4023, allocations: 8.125 kB / 0.5759 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.4025, allocations: 91.92 kB / 0.576 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.4025, allocations: 1.891 kB / 0.576 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4026, allocations: 5.391 kB / 0.576 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4026, allocations: 3.359 kB / 0.576 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.4027, allocations: 32.66 kB / 0.5761 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.4032, allocations: 355 kB / 0.5764 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.4034, allocations: 71.64 kB / 0.5765 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.4034, allocations: 41.36 kB / 0.5765 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.4035, allocations: 2.031 kB / 0.5765 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.4036, allocations: 89.53 kB / 0.5766 GB, free: 27.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.4036, allocations: 0 / 0.5766 GB, free: 27.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003292/0.404, allocations: 142.9 kB / 0.5767 GB, free: 27.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.404, allocations: 78.48 kB / 0.5768 GB, free: 27.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.4043, allocations: 266.6 kB / 0.5771 GB, free: 27.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.4043, allocations: 31.02 kB / 0.5771 GB, free: 27.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.4043, allocations: 117.4 kB / 0.5772 GB, free: 27.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.4044, allocations: 22.97 kB / 0.5772 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.4044, allocations: 24.08 kB / 0.5772 GB, free: 27.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.4045, allocations: 334.5 kB / 0.5776 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.4046, allocations: 28.69 kB / 0.5776 GB, free: 26.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.4046, allocations: 62.03 kB / 0.5776 GB, free: 26.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.4048, allocations: 78.47 kB / 0.5777 GB, free: 26.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4048, allocations: 0 / 0.5777 GB, free: 26.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001923/0.405, allocations: 116.4 kB / 0.5778 GB, free: 26.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.405, allocations: 6.312 kB / 0.5778 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.405, allocations: 5.656 kB / 0.5778 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.405, allocations: 1.531 kB / 0.5778 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.4051, allocations: 11.05 kB / 0.5779 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4051, allocations: 0.9688 kB / 0.5779 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.4052, allocations: 13.06 kB / 0.5779 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.4052, allocations: 4.547 kB / 0.5779 GB, free: 26.64 MB / 446.1 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 9.931e-05/0.4053, allocations: 149.2 kB / 0.578 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.4054, allocations: 20.16 kB / 0.578 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.4054, allocations: 17.86 kB / 0.578 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.4054, allocations: 4.25 kB / 0.5781 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4054, allocations: 0.5 kB / 0.5781 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4054, allocations: 5.766 kB / 0.5781 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.4056, allocations: 220.4 kB / 0.5783 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4056, allocations: 0 / 0.5783 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.4056, allocations: 4.922 kB / 0.5783 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4056, allocations: 0.6094 kB / 0.5783 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.4057, allocations: 3.109 kB / 0.5783 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4057, allocations: 1.344 kB / 0.5783 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4057, allocations: 4.594 kB / 0.5783 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.4059, allocations: 148.5 kB / 0.5784 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.4059, allocations: 99.89 kB / 0.5785 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.406, allocations: 2.141 kB / 0.5785 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.231e-05/0.406, allocations: 5 kB / 0.5785 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.017e-05/0.4061, allocations: 7.047 kB / 0.5785 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.4061, allocations: 7.312 kB / 0.5785 GB, free: 26.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.4063, allocations: 193 kB / 0.5787 GB, free: 25.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4063, allocations: 0 / 0.5787 GB, free: 25.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.4065, allocations: 34.45 kB / 0.5788 GB, free: 25.93 MB / 446.1 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.0009611/0.4075, allocations: 413.8 kB / 0.5792 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.4077, allocations: 85.81 kB / 0.5792 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4078, allocations: 0.9688 kB / 0.5792 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.4078, allocations: 42.41 kB / 0.5793 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.4082, allocations: 42.47 kB / 0.5793 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005339/0.4087, allocations: 327.7 kB / 0.5796 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.4089, allocations: 0.7265 MB / 0.5803 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.409, allocations: 20.88 kB / 0.5804 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4091, allocations: 17 kB / 0.5804 GB, free: 24.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4091, allocations: 0 / 0.5804 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Templates: time 0.005852/0.4149, allocations: 2.249 MB / 0.5826 GB, free: 23.78 MB / 446.1 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)