Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 176.8 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009427/0.0009431, allocations: 90.62 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.17e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2181, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7438/0.962, allocations: 135.9 MB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.9624, allocations: 79.95 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.9769, allocations: 5.37 MB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/0.977, allocations: 4 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.977, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.6511 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.0005513/0.9775, allocations: 467.2 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.9776, allocations: 12.03 kB / 1.024 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.9777, allocations: 15.81 kB / 1.024 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.978, allocations: 250.6 kB / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.978, allocations: 0 / 1.024 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.9781, allocations: 8 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.206e-05/0.9782, allocations: 35.23 kB / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.9783, allocations: 78.98 kB / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9784, allocations: 0 / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.9784, allocations: 0 / 1.024 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.9784, allocations: 7.984 kB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.9789, allocations: 343.5 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.979, allocations: 69.86 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.677e-05/0.9791, allocations: 28.61 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.9791, allocations: 0 / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.9792, allocations: 74.86 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.815e-06/0.9792, allocations: 8.047 kB / 1.025 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002641/0.9795, allocations: 124.7 kB / 1.025 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.9795, allocations: 77.11 kB / 1.025 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.9798, allocations: 232.6 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.9798, allocations: 25.7 kB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/0.9799, allocations: 114.7 kB / 1.025 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.9799, allocations: 19.47 kB / 1.025 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.98, allocations: 0 / 1.025 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.9801, allocations: 346.5 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.945e-05/0.9802, allocations: 19.62 kB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.9802, allocations: 58.86 kB / 1.026 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.9803, allocations: 31.73 kB / 1.026 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9803, allocations: 0 / 1.026 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001742/0.9805, allocations: 108.7 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.9805, allocations: 6.031 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.9806, allocations: 4.062 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9806, allocations: 0 / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.9807, allocations: 19.55 kB / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.9807, allocations: 0 / 1.026 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.9808, allocations: 11.84 kB / 1.026 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.9808, allocations: 4 kB / 1.026 GB, free: 10.54 MB / 0.6511 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 8.877e-05/0.9809, allocations: 117.4 kB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001759/0.9811, allocations: 116.5 kB / 1.026 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.9811, allocations: 19.81 kB / 1.026 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.9813, allocations: 124.5 kB / 1.026 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.9813, allocations: 3.938 kB / 1.026 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.9813, allocations: 0 / 1.026 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.9814, allocations: 7.938 kB / 1.026 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.9816, allocations: 204.9 kB / 1.026 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9816, allocations: 3.938 kB / 1.026 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-05/0.9816, allocations: 7.984 kB / 1.026 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.9816, allocations: 0 / 1.026 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.9816, allocations: 0 / 1.026 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.9816, allocations: 8 kB / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9817, allocations: 0 / 1.026 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.9819, allocations: 139.9 kB / 1.027 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.9819, allocations: 100.8 kB / 1.027 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.982, allocations: 3.984 kB / 1.027 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.475e-05/0.982, allocations: 7.938 kB / 1.027 GB, free: 9.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.9821, allocations: 11.8 kB / 1.027 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.9821, allocations: 7.938 kB / 1.027 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001741/0.9823, allocations: 189.8 kB / 1.027 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9823, allocations: 0 / 1.027 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002635/0.9826, allocations: 39.75 kB / 1.027 GB, free: 9.477 MB / 0.6511 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.001134/0.9837, allocations: 0.943 MB / 1.028 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.9839, allocations: 71.72 kB / 1.028 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.9839, allocations: 0 / 1.028 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.655e-05/0.984, allocations: 34.56 kB / 1.028 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.9842, allocations: 32.22 kB / 1.028 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.9849, allocations: 289.1 kB / 1.028 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.9852, allocations: 0.7308 MB / 1.029 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.794e-05/0.9853, allocations: 29.48 kB / 1.029 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.9854, allocations: 47.98 kB / 1.029 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.9854, allocations: 0 / 1.029 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/1.008, allocations: 3.642 MB / 1.033 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/1.008, allocations: 181.8 kB / 1.033 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.569, allocations: 0 / 1.033 GB, free: 3.605 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)