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.001649/0.001649, allocations: 108 kB / 16.27 MB, free: 5.93 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.001156/0.001156, allocations: 188.6 kB / 17.2 MB, free: 5.574 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8508/0.8508, allocations: 126.1 MB / 417.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 0.495 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4003, allocations: 78.69 MB / 0.5718 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003031/0.4034, allocations: 1.781 MB / 0.5735 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.405, allocations: 1.028 MB / 0.5746 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.466e-05/0.4051, allocations: 2.094 kB / 0.5746 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006625/0.4057, allocations: 162.1 kB / 0.5747 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.406, allocations: 111 kB / 0.5748 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.4065, allocations: 166 kB / 0.575 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.4067, allocations: 170.8 kB / 0.5751 GB, free: 29.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4069, allocations: 30.7 kB / 0.5752 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.407, allocations: 70.77 kB / 0.5752 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.4071, allocations: 67.98 kB / 0.5753 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.4071, allocations: 11.34 kB / 0.5753 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4073, allocations: 54.69 kB / 0.5754 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.4074, allocations: 39.03 kB / 0.5754 GB, free: 29.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.715e-05/0.4075, allocations: 64.97 kB / 0.5755 GB, free: 29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.4077, allocations: 199 kB / 0.5757 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4077, allocations: 0 / 0.5757 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4077, allocations: 2.656 kB / 0.5757 GB, free: 28.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.4078, allocations: 0 / 0.5757 GB, free: 28.91 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.000555/0.4083, allocations: 499.3 kB / 0.5761 GB, free: 28.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.4083, allocations: 9.625 kB / 0.5761 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.4084, allocations: 16.33 kB / 0.5762 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.4086, allocations: 249.2 kB / 0.5764 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4087, allocations: 4.469 kB / 0.5764 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.4087, allocations: 10.81 kB / 0.5764 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.4089, allocations: 89 kB / 0.5765 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.4089, allocations: 0 / 0.5765 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4089, allocations: 6.953 kB / 0.5765 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4089, allocations: 3.453 kB / 0.5765 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.409, allocations: 36.58 kB / 0.5765 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.4094, allocations: 350.5 kB / 0.5769 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.4096, allocations: 75.94 kB / 0.5769 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.4097, allocations: 34.34 kB / 0.577 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.4097, allocations: 1.375 kB / 0.577 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4099, allocations: 91.7 kB / 0.5771 GB, free: 27.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.4099, allocations: 0 / 0.5771 GB, free: 27.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003282/0.4102, allocations: 140.9 kB / 0.5772 GB, free: 27.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.4103, allocations: 79.23 kB / 0.5773 GB, free: 27.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.4105, allocations: 269 kB / 0.5775 GB, free: 27.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4106, allocations: 27.02 kB / 0.5776 GB, free: 27.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.4106, allocations: 116.9 kB / 0.5777 GB, free: 27.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.4106, allocations: 26.56 kB / 0.5777 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.4107, allocations: 26.2 kB / 0.5777 GB, free: 27.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.4108, allocations: 333.4 kB / 0.578 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.4108, allocations: 27.17 kB / 0.5781 GB, free: 26.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.4109, allocations: 62.05 kB / 0.5781 GB, free: 26.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4111, allocations: 72.72 kB / 0.5782 GB, free: 26.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4111, allocations: 5.438 kB / 0.5782 GB, free: 26.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001881/0.4113, allocations: 115.4 kB / 0.5783 GB, free: 26.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4113, allocations: 5.562 kB / 0.5783 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4113, allocations: 2.344 kB / 0.5783 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4113, allocations: 0 / 0.5783 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.701e-05/0.4114, allocations: 11.88 kB / 0.5783 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.4114, allocations: 6.188 kB / 0.5783 GB, free: 26.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.4115, allocations: 14.84 kB / 0.5783 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.4115, allocations: 2.625 kB / 0.5783 GB, free: 26.69 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.723e-05/0.4116, allocations: 147.8 kB / 0.5785 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4116, allocations: 20.16 kB / 0.5785 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.4117, allocations: 23.67 kB / 0.5785 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4117, allocations: 1.969 kB / 0.5785 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4117, allocations: 1.844 kB / 0.5785 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4117, allocations: 5.203 kB / 0.5785 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.4119, allocations: 223 kB / 0.5788 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4119, allocations: 1.969 kB / 0.5788 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.4119, allocations: 4.234 kB / 0.5788 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4119, allocations: 0.75 kB / 0.5788 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4119, allocations: 1.984 kB / 0.5788 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.4119, allocations: 5.609 kB / 0.5788 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4119, allocations: 1.625 kB / 0.5788 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.4121, allocations: 150.2 kB / 0.5789 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4122, allocations: 94.75 kB / 0.579 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.4122, allocations: 3.281 kB / 0.579 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.903e-05/0.4123, allocations: 3.797 kB / 0.579 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.4123, allocations: 8.688 kB / 0.579 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4123, allocations: 8.031 kB / 0.579 GB, free: 26.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.4125, allocations: 194.6 kB / 0.5792 GB, free: 25.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4125, allocations: 1.969 kB / 0.5792 GB, free: 25.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.4127, allocations: 30 kB / 0.5792 GB, free: 25.97 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.000859/0.4136, allocations: 422.5 kB / 0.5796 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4138, allocations: 74.38 kB / 0.5797 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4138, allocations: 1.188 kB / 0.5797 GB, free: 25.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.4139, allocations: 42.23 kB / 0.5798 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.4142, allocations: 39.89 kB / 0.5798 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.4146, allocations: 307.7 kB / 0.5801 GB, free: 25.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.4148, allocations: 0.7232 MB / 0.5808 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.66e-05/0.4149, allocations: 17.61 kB / 0.5808 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.4149, allocations: 21.67 kB / 0.5808 GB, free: 24.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4149, allocations: 1.094 kB / 0.5808 GB, free: 24.8 MB / 446.1 MB Notification: Performance of Templates: time 0.004702/0.4196, allocations: 2.273 MB / 0.5831 GB, free: 23.71 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)