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.005834/0.005839, allocations: 101.5 kB / 15.88 MB, free: 6.312 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.001286/0.001286, allocations: 196.7 kB / 16.79 MB, free: 6.242 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.296/1.296, allocations: 222.9 MB / 240.5 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.6667/0.6667, allocations: 115.3 MB / 405.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 72.12 kB / 493 MB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3131, allocations: 76.17 MB / 0.5558 GB, free: 36.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002857/0.316, allocations: 1.832 MB / 0.5576 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3173, allocations: 0.9996 MB / 0.5586 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.3174, allocations: 6.438 kB / 0.5586 GB, free: 34.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.318, allocations: 157.3 kB / 0.5587 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.3182, allocations: 106.6 kB / 0.5588 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3186, allocations: 158.1 kB / 0.559 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.3188, allocations: 162.2 kB / 0.5591 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.3189, allocations: 24.36 kB / 0.5592 GB, free: 34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3191, allocations: 61.66 kB / 0.5592 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3192, allocations: 66.19 kB / 0.5593 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3192, allocations: 4.75 kB / 0.5593 GB, free: 33.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3193, allocations: 55 kB / 0.5594 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.3194, allocations: 46.81 kB / 0.5594 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.3195, allocations: 53.12 kB / 0.5594 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.3197, allocations: 196.8 kB / 0.5596 GB, free: 33.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.3197, allocations: 0 / 0.5596 GB, free: 33.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3198, allocations: 0 / 0.5596 GB, free: 33.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3198, allocations: 2.375 kB / 0.5596 GB, free: 33.8 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.0005835/0.3204, allocations: 0.4905 MB / 0.5601 GB, free: 33.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3204, allocations: 14.5 kB / 0.5601 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.3204, allocations: 34.73 kB / 0.5602 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.3205, allocations: 16.66 kB / 0.5602 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3207, allocations: 242.2 kB / 0.5604 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3207, allocations: 1.562 kB / 0.5604 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3208, allocations: 13.66 kB / 0.5604 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3209, allocations: 91.2 kB / 0.5605 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.321, allocations: 0 / 0.5605 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.321, allocations: 0 / 0.5605 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.321, allocations: 7.656 kB / 0.5605 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.3211, allocations: 32.11 kB / 0.5605 GB, free: 32.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.3215, allocations: 364.2 kB / 0.5609 GB, free: 32.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3217, allocations: 71.56 kB / 0.561 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.3218, allocations: 35.3 kB / 0.561 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3218, allocations: 0.5 kB / 0.561 GB, free: 32.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.322, allocations: 87.81 kB / 0.5611 GB, free: 32.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.322, allocations: 1.375 kB / 0.5611 GB, free: 32.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003244/0.3223, allocations: 152 kB / 0.5612 GB, free: 32.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.3224, allocations: 79.05 kB / 0.5613 GB, free: 32.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.3226, allocations: 265 kB / 0.5616 GB, free: 32.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3226, allocations: 31.11 kB / 0.5616 GB, free: 32.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.3227, allocations: 116.7 kB / 0.5617 GB, free: 32.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.3227, allocations: 21.84 kB / 0.5617 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.3227, allocations: 30.95 kB / 0.5617 GB, free: 32.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.3228, allocations: 328.9 kB / 0.5621 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.417e-05/0.3229, allocations: 27.62 kB / 0.5621 GB, free: 31.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.323, allocations: 55.95 kB / 0.5621 GB, free: 31.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.3231, allocations: 75.17 kB / 0.5622 GB, free: 31.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3231, allocations: 1.25 kB / 0.5622 GB, free: 31.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002011/0.3233, allocations: 114.3 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3233, allocations: 9.75 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3233, allocations: 0.6562 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3233, allocations: 1.531 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.3234, allocations: 10.78 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3234, allocations: 2.281 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.3235, allocations: 17.22 kB / 0.5624 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3235, allocations: 6.734 kB / 0.5624 GB, free: 31.54 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.000104/0.3236, allocations: 145.6 kB / 0.5625 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.3237, allocations: 15.72 kB / 0.5625 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.3237, allocations: 19.05 kB / 0.5625 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.3237, allocations: 4.906 kB / 0.5625 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3237, allocations: 13.91 kB / 0.5626 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3237, allocations: 4.688 kB / 0.5626 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3239, allocations: 219.5 kB / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3239, allocations: 1.641 kB / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.3239, allocations: 4.125 kB / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3239, allocations: 0 / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.324, allocations: 7.031 kB / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.324, allocations: 1.094 kB / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.324, allocations: 0.7031 kB / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.3242, allocations: 146.6 kB / 0.5629 GB, free: 31.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.3242, allocations: 94.98 kB / 0.563 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3243, allocations: 5.891 kB / 0.563 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.3243, allocations: 4.422 kB / 0.563 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.3244, allocations: 11.64 kB / 0.563 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3244, allocations: 3.078 kB / 0.563 GB, free: 30.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.3246, allocations: 198.3 kB / 0.5632 GB, free: 30.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3246, allocations: 1.094 kB / 0.5632 GB, free: 30.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.3248, allocations: 28.75 kB / 0.5633 GB, free: 30.83 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.001141/0.326, allocations: 0.9987 MB / 0.5642 GB, free: 30.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3262, allocations: 75.66 kB / 0.5643 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3262, allocations: 0 / 0.5643 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.642e-05/0.3262, allocations: 38.48 kB / 0.5643 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3265, allocations: 39.78 kB / 0.5644 GB, free: 30.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.3284, allocations: 1.977 MB / 0.5663 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3286, allocations: 0.7317 MB / 0.567 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.501e-05/0.3287, allocations: 21.42 kB / 0.567 GB, free: 27.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.3287, allocations: 45.02 kB / 0.5671 GB, free: 27.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3287, allocations: 1.344 kB / 0.5671 GB, free: 27.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5171/0.8458, allocations: 4.209 MB / 0.5712 GB, free: 27.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.846, allocations: 244.5 kB / 0.5714 GB, free: 27.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.316, allocations: 0 / 0.5714 GB, free: 27.11 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)