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.001122/0.001122, allocations: 101 kB / 16.26 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.001628/0.001628, allocations: 190.5 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7302/0.7302, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3518, allocations: 77.93 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00293/0.3548, allocations: 1.772 MB / 0.569 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3562, allocations: 1.023 MB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.3563, allocations: 1.812 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.357, allocations: 167.7 kB / 0.5702 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.3573, allocations: 111.3 kB / 0.5703 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.3577, allocations: 168.7 kB / 0.5704 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.3579, allocations: 171.5 kB / 0.5706 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.358, allocations: 24.11 kB / 0.5706 GB, free: 30.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.76e-05/0.3581, allocations: 73.97 kB / 0.5707 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3582, allocations: 70.89 kB / 0.5708 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3582, allocations: 8.281 kB / 0.5708 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.3584, allocations: 52.81 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.3584, allocations: 49.89 kB / 0.5709 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.3585, allocations: 59.47 kB / 0.5709 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.3588, allocations: 198.7 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3588, allocations: 1.453 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3588, allocations: 1.062 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3588, allocations: 0.5938 kB / 0.5711 GB, free: 30.21 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.0005894/0.3594, allocations: 494.1 kB / 0.5716 GB, free: 29.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3594, allocations: 11.69 kB / 0.5716 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.3595, allocations: 39.02 kB / 0.5716 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.3595, allocations: 16.73 kB / 0.5717 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3598, allocations: 252.8 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3598, allocations: 3.562 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.3598, allocations: 7.25 kB / 0.5719 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.36, allocations: 94.3 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.36, allocations: 0 / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.36, allocations: 4 kB / 0.572 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.3601, allocations: 9.297 kB / 0.572 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.3601, allocations: 31.25 kB / 0.572 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.3606, allocations: 351.6 kB / 0.5724 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.3608, allocations: 81.45 kB / 0.5725 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.3609, allocations: 32.09 kB / 0.5725 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3609, allocations: 6.281 kB / 0.5725 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3611, allocations: 81.5 kB / 0.5726 GB, free: 28.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.3611, allocations: 0 / 0.5726 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003252/0.3614, allocations: 146 kB / 0.5727 GB, free: 28.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.3615, allocations: 78.23 kB / 0.5728 GB, free: 28.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3617, allocations: 275.9 kB / 0.573 GB, free: 28.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3617, allocations: 30.86 kB / 0.5731 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.3618, allocations: 117.6 kB / 0.5732 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.3618, allocations: 22.8 kB / 0.5732 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.3619, allocations: 30.36 kB / 0.5732 GB, free: 28.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.3619, allocations: 329.6 kB / 0.5735 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.362, allocations: 27.03 kB / 0.5736 GB, free: 28.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.3621, allocations: 61.03 kB / 0.5736 GB, free: 28.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3622, allocations: 68.83 kB / 0.5737 GB, free: 28.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3622, allocations: 0 / 0.5737 GB, free: 28.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001901/0.3624, allocations: 120 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3625, allocations: 12.53 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3625, allocations: 1.062 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3625, allocations: 1.031 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.3626, allocations: 9.594 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3626, allocations: 2.625 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.3627, allocations: 18.05 kB / 0.5739 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.3627, allocations: 5.391 kB / 0.5739 GB, free: 27.93 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.0001187/0.3628, allocations: 144.1 kB / 0.574 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.3628, allocations: 16.41 kB / 0.574 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.3629, allocations: 18.91 kB / 0.574 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3629, allocations: 3.094 kB / 0.574 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3629, allocations: 1.75 kB / 0.574 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3629, allocations: 6.062 kB / 0.574 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3631, allocations: 219 kB / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3631, allocations: 0 / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.3631, allocations: 8.078 kB / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3631, allocations: 1.719 kB / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.3632, allocations: 1.922 kB / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3632, allocations: 6.406 kB / 0.5743 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3632, allocations: 4.719 kB / 0.5743 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.3634, allocations: 147 kB / 0.5744 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.3634, allocations: 95.36 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3635, allocations: 1.922 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.3635, allocations: 7.609 kB / 0.5745 GB, free: 27.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3636, allocations: 13.05 kB / 0.5745 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3636, allocations: 4.312 kB / 0.5745 GB, free: 27.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.3638, allocations: 193.4 kB / 0.5747 GB, free: 27.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3638, allocations: 0 / 0.5747 GB, free: 27.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.364, allocations: 35.84 kB / 0.5747 GB, free: 27.23 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.00118/0.3652, allocations: 0.9875 MB / 0.5757 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3655, allocations: 85.67 kB / 0.5758 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3655, allocations: 0 / 0.5758 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.05e-05/0.3656, allocations: 36 kB / 0.5758 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.3658, allocations: 39.56 kB / 0.5759 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3679, allocations: 1.95 MB / 0.5778 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.3681, allocations: 0.7233 MB / 0.5785 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.3682, allocations: 27.61 kB / 0.5785 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.3683, allocations: 44.84 kB / 0.5785 GB, free: 24.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3683, allocations: 2.438 kB / 0.5785 GB, free: 24.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.3884, allocations: 4.405 MB / 0.5829 GB, free: 22.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.174/7.563, allocations: 23.02 kB / 0.5829 GB, free: 22.94 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)