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.001109/0.001109, allocations: 102.9 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.001119/0.001119, 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7611/0.7611, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.12 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4014, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003443/0.4049, allocations: 1.77 MB / 0.569 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.4064, allocations: 1.02 MB / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.4065, allocations: 2.094 kB / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007452/0.4073, allocations: 166 kB / 0.5702 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.4076, allocations: 111.5 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.408, allocations: 177.8 kB / 0.5704 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.4083, allocations: 169.4 kB / 0.5706 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.4084, allocations: 22.64 kB / 0.5706 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.4085, allocations: 72.92 kB / 0.5707 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.4086, allocations: 70.67 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.4087, allocations: 6.844 kB / 0.5708 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.4088, allocations: 67.03 kB / 0.5708 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.4089, allocations: 36.41 kB / 0.5709 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.409, allocations: 63.56 kB / 0.5709 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.4093, allocations: 199.3 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4093, allocations: 3.25 kB / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4093, allocations: 0 / 0.5711 GB, free: 30.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4094, allocations: 0 / 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.0006054/0.41, allocations: 493.1 kB / 0.5716 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.41, allocations: 11.16 kB / 0.5716 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.028e-05/0.4101, allocations: 38.08 kB / 0.5716 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.4101, allocations: 17.53 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.4104, allocations: 253 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4104, allocations: 3.781 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.4104, allocations: 7.5 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.4106, allocations: 89.09 kB / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.4106, allocations: 0 / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.4106, allocations: 2.688 kB / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4107, allocations: 3.391 kB / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.4108, allocations: 39.89 kB / 0.572 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.4112, allocations: 354.6 kB / 0.5724 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.4114, allocations: 77.59 kB / 0.5725 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.4115, allocations: 32.36 kB / 0.5725 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4115, allocations: 1.938 kB / 0.5725 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.4117, allocations: 83.64 kB / 0.5726 GB, free: 28.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.4117, allocations: 0 / 0.5726 GB, free: 28.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003162/0.412, allocations: 141.3 kB / 0.5727 GB, free: 28.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.412, allocations: 78.09 kB / 0.5728 GB, free: 28.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.4123, allocations: 278.7 kB / 0.573 GB, free: 28.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.4123, allocations: 27.45 kB / 0.5731 GB, free: 28.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.4124, allocations: 119.8 kB / 0.5732 GB, free: 28.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4124, allocations: 29.47 kB / 0.5732 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.4124, allocations: 25.31 kB / 0.5732 GB, free: 28.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.4125, allocations: 328.7 kB / 0.5735 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.341e-05/0.4126, allocations: 27.62 kB / 0.5736 GB, free: 28.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-05/0.4127, allocations: 62.84 kB / 0.5736 GB, free: 28.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4128, allocations: 70.92 kB / 0.5737 GB, free: 28.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4128, allocations: 0 / 0.5737 GB, free: 28.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001906/0.413, allocations: 120.3 kB / 0.5738 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.413, allocations: 4.406 kB / 0.5738 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.413, allocations: 3.016 kB / 0.5738 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4131, allocations: 1.25 kB / 0.5738 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.4131, allocations: 19.61 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4132, allocations: 1.156 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.4132, allocations: 18.42 kB / 0.5739 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4133, allocations: 2.375 kB / 0.5739 GB, free: 27.94 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.0001124/0.4134, allocations: 145.3 kB / 0.574 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.4134, allocations: 15.8 kB / 0.574 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.412e-05/0.4135, allocations: 18.94 kB / 0.574 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4135, allocations: 3.172 kB / 0.574 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4135, allocations: 2.188 kB / 0.574 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4135, allocations: 4.734 kB / 0.574 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.4137, allocations: 222.1 kB / 0.5743 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4137, allocations: 2 kB / 0.5743 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.4137, allocations: 3.922 kB / 0.5743 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4137, allocations: 1.141 kB / 0.5743 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4137, allocations: 2.469 kB / 0.5743 GB, free: 27.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4137, allocations: 9.062 kB / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4137, allocations: 0.9688 kB / 0.5743 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.414, allocations: 149.8 kB / 0.5744 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.414, allocations: 95.62 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.414, allocations: 2.125 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.4141, allocations: 5.938 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.4141, allocations: 12.59 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4142, allocations: 4.031 kB / 0.5745 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.4143, allocations: 190.3 kB / 0.5747 GB, free: 27.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4143, allocations: 2.875 kB / 0.5747 GB, free: 27.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.4146, allocations: 32.09 kB / 0.5747 GB, free: 27.24 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.001233/0.4158, allocations: 0.9887 MB / 0.5757 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.416, allocations: 77.98 kB / 0.5758 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.416, allocations: 1.094 kB / 0.5758 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.4161, allocations: 37.17 kB / 0.5758 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.4164, allocations: 41.16 kB / 0.5759 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.4187, allocations: 1.951 MB / 0.5778 GB, free: 25.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.4189, allocations: 0.7263 MB / 0.5785 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.419, allocations: 21.86 kB / 0.5785 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.427e-05/0.4191, allocations: 46.22 kB / 0.5785 GB, free: 24.38 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4191, allocations: 4.438 kB / 0.5785 GB, free: 24.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.4411, allocations: 4.401 MB / 0.5828 GB, free: 22.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.87, allocations: 12.3 kB / 0.5829 GB, free: 22.9 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)