Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 285.6 MB / 293.1 MB, free: 10.24 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009977/0.0009976, allocations: 172.9 kB / 361.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009108/0.0009107, allocations: 98.73 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.888e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7541, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.9816, allocations: 141.3 MB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.9819, allocations: 77.42 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.9968, allocations: 5.36 MB / 1.108 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.452e-06/0.9968, allocations: 0 / 1.108 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.9969, allocations: 8.781 kB / 1.108 GB, free: 9.18 MB / 0.7136 GB 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.0006055/0.9975, allocations: 465.1 kB / 1.108 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.9975, allocations: 8.031 kB / 1.108 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.9976, allocations: 18.34 kB / 1.108 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.998, allocations: 255.6 kB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.9981, allocations: 4.578 kB / 1.108 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.9981, allocations: 4.625 kB / 1.108 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001025/0.9982, allocations: 35.98 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.9984, allocations: 80.92 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.9984, allocations: 4.562 kB / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.9984, allocations: 3.938 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.9984, allocations: 3.906 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.999, allocations: 338.6 kB / 1.109 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.9991, allocations: 64.16 kB / 1.109 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.9992, allocations: 38.34 kB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.9992, allocations: 3.938 kB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.9993, allocations: 77.58 kB / 1.109 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.9994, allocations: 0 / 1.109 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002837/0.9996, allocations: 117.1 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.9997, allocations: 81.09 kB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.9999, allocations: 233.9 kB / 1.109 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/1, allocations: 25.7 kB / 1.109 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/1, allocations: 116 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/1, allocations: 23.7 kB / 1.11 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/1, allocations: 0 / 1.11 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1, allocations: 338.8 kB / 1.11 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.515e-05/1, allocations: 25.81 kB / 1.11 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/1, allocations: 55.42 kB / 1.11 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.703e-05/1, allocations: 32.02 kB / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1, allocations: 1.219 kB / 1.11 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002095/1.001, allocations: 109.4 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.001, allocations: 4 kB / 1.11 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.001, allocations: 4 kB / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.001, allocations: 0 / 1.11 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/1.001, allocations: 19.92 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.001, allocations: 2.656 kB / 1.11 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/1.001, allocations: 7.969 kB / 1.11 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/1.001, allocations: 10.62 kB / 1.11 GB, free: 6.414 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/1.001, allocations: 111.9 kB / 1.11 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001999/1.001, allocations: 117.5 kB / 1.11 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/1.001, allocations: 19.75 kB / 1.11 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/1.002, allocations: 119.5 kB / 1.111 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.002, allocations: 4 kB / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.002, allocations: 0 / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.002, allocations: 0 / 1.111 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/1.002, allocations: 210.1 kB / 1.111 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.002, allocations: 0 / 1.111 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/1.002, allocations: 7.984 kB / 1.111 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/1.002, allocations: 0 / 1.111 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/1.002, allocations: 4 kB / 1.111 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.002, allocations: 0 / 1.111 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/1.002, allocations: 3.938 kB / 1.111 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/1.002, allocations: 148.8 kB / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/1.002, allocations: 108.8 kB / 1.111 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/1.002, allocations: 0 / 1.111 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/1.002, allocations: 10.11 kB / 1.111 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/1.002, allocations: 4 kB / 1.111 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.002, allocations: 11.98 kB / 1.111 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001708/1.003, allocations: 184.2 kB / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 0 / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002731/1.003, allocations: 41.14 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001323/1.004, allocations: 0.941 MB / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001899/1.004, allocations: 75.86 kB / 1.112 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.004, allocations: 4.062 kB / 1.112 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/1.005, allocations: 39.98 kB / 1.112 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/1.005, allocations: 32.47 kB / 1.112 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006905/1.005, allocations: 282 kB / 1.113 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/1.006, allocations: 0.7317 MB / 1.113 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001006/1.006, allocations: 29.66 kB / 1.113 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/1.006, allocations: 51.41 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/1.006, allocations: 4 kB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/1.031, allocations: 3.636 MB / 1.117 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/1.032, allocations: 175.3 kB / 1.117 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.785, allocations: 0 / 1.117 GB, free: 15.39 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)