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: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001742/0.001742, allocations: 191 kB / 16.91 MB, free: 6.195 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.504/1.504, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7415/0.7415, allocations: 115.3 MB / 406.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.89 kB / 493.2 MB, free: 0.582 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5028, allocations: 76.18 MB / 0.556 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003866/0.5067, allocations: 1.831 MB / 0.5578 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.5083, allocations: 1.014 MB / 0.5588 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.39e-05/0.5084, allocations: 1.906 kB / 0.5588 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.5091, allocations: 156.8 kB / 0.5589 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.5094, allocations: 102.8 kB / 0.559 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.5099, allocations: 154.6 kB / 0.5592 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.5101, allocations: 169.2 kB / 0.5594 GB, free: 33.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.5102, allocations: 29.3 kB / 0.5594 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.5103, allocations: 70.94 kB / 0.5594 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.5105, allocations: 72.39 kB / 0.5595 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.5105, allocations: 8.625 kB / 0.5595 GB, free: 33.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.5106, allocations: 56.77 kB / 0.5596 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.5107, allocations: 45.83 kB / 0.5596 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.5108, allocations: 60.34 kB / 0.5597 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.5111, allocations: 198.8 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5111, allocations: 0 / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5111, allocations: 0.5312 kB / 0.5599 GB, free: 33.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.5111, allocations: 2 kB / 0.5599 GB, free: 33.12 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.0007475/0.5119, allocations: 494.6 kB / 0.5603 GB, free: 32.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.5119, allocations: 12.38 kB / 0.5604 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.512, allocations: 38.12 kB / 0.5604 GB, free: 32.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.512, allocations: 20.94 kB / 0.5604 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/0.5123, allocations: 242.4 kB / 0.5606 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5124, allocations: 2.75 kB / 0.5606 GB, free: 32.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.5124, allocations: 8.344 kB / 0.5607 GB, free: 32.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.5126, allocations: 90.06 kB / 0.5607 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5126, allocations: 0.6875 kB / 0.5607 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.5126, allocations: 1.469 kB / 0.5607 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.5127, allocations: 4.891 kB / 0.5607 GB, free: 32.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.5128, allocations: 31.7 kB / 0.5608 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.5133, allocations: 359.1 kB / 0.5611 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.5136, allocations: 79.97 kB / 0.5612 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.5137, allocations: 33.64 kB / 0.5612 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.5137, allocations: 1.922 kB / 0.5612 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.5139, allocations: 85.02 kB / 0.5613 GB, free: 31.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.5139, allocations: 1.312 kB / 0.5613 GB, free: 31.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003951/0.5143, allocations: 142.2 kB / 0.5614 GB, free: 31.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.5144, allocations: 79.7 kB / 0.5615 GB, free: 31.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.5147, allocations: 269.2 kB / 0.5618 GB, free: 31.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5147, allocations: 31.42 kB / 0.5618 GB, free: 31.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.5148, allocations: 122 kB / 0.5619 GB, free: 31.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.5148, allocations: 25.52 kB / 0.562 GB, free: 31.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/0.5149, allocations: 24.98 kB / 0.562 GB, free: 31.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.515, allocations: 330.5 kB / 0.5623 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.515, allocations: 26.67 kB / 0.5623 GB, free: 31.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.164e-05/0.5151, allocations: 61.12 kB / 0.5624 GB, free: 30.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.5153, allocations: 75.16 kB / 0.5624 GB, free: 30.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5153, allocations: 0 / 0.5624 GB, free: 30.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002142/0.5155, allocations: 123.5 kB / 0.5626 GB, free: 30.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5155, allocations: 6.578 kB / 0.5626 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5156, allocations: 1.062 kB / 0.5626 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5156, allocations: 1.406 kB / 0.5626 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.5157, allocations: 10.47 kB / 0.5626 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.5157, allocations: 2.25 kB / 0.5626 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.5157, allocations: 12.64 kB / 0.5626 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5158, allocations: 9.375 kB / 0.5626 GB, free: 30.86 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 0.0001247/0.5159, allocations: 140.8 kB / 0.5627 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.5159, allocations: 15.47 kB / 0.5628 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.516, allocations: 19.42 kB / 0.5628 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.516, allocations: 2.859 kB / 0.5628 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.516, allocations: 1.75 kB / 0.5628 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.516, allocations: 4.5 kB / 0.5628 GB, free: 30.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.5162, allocations: 224.8 kB / 0.563 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5163, allocations: 0 / 0.563 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.5163, allocations: 9.375 kB / 0.563 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5163, allocations: 0 / 0.563 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.5163, allocations: 2.766 kB / 0.563 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5163, allocations: 0.5625 kB / 0.563 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5163, allocations: 6.25 kB / 0.563 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.5166, allocations: 147 kB / 0.5632 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.5166, allocations: 98.17 kB / 0.5632 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.5166, allocations: 7.438 kB / 0.5633 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.5167, allocations: 7.359 kB / 0.5633 GB, free: 30.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.5167, allocations: 12.95 kB / 0.5633 GB, free: 30.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.5168, allocations: 3.547 kB / 0.5633 GB, free: 30.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001704/0.5169, allocations: 194.1 kB / 0.5635 GB, free: 30.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5169, allocations: 0 / 0.5635 GB, free: 30.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.5172, allocations: 32.2 kB / 0.5635 GB, free: 30.15 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.00125/0.5185, allocations: 0.9922 MB / 0.5645 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.5187, allocations: 77.52 kB / 0.5645 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5187, allocations: 1.219 kB / 0.5645 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.5188, allocations: 34.7 kB / 0.5646 GB, free: 29.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.5191, allocations: 44.47 kB / 0.5646 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.5212, allocations: 1.986 MB / 0.5666 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.5214, allocations: 0.7248 MB / 0.5673 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.212e-05/0.5215, allocations: 22.94 kB / 0.5673 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.5216, allocations: 46.06 kB / 0.5673 GB, free: 27.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5216, allocations: 0 / 0.5673 GB, free: 27.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.5671, allocations: 4.303 MB / 0.5715 GB, free: 26.69 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.5673, allocations: 240.1 kB / 0.5718 GB, free: 26.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.561, allocations: 0 / 0.5718 GB, free: 26.43 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)