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.689/1.689, allocations: 285.4 MB / 298 MB, free: 6.012 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.00108/0.00108, allocations: 176.8 kB / 366.4 MB, free: 2.094 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.631/1.631, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0009592/0.0009593, allocations: 100 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.465e-05/4.503e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9496/0.9497, allocations: 115.3 MB / 0.971 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2207/1.17, allocations: 141.9 MB / 1.11 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.171, allocations: 83.88 kB / 1.11 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01529/1.186, allocations: 5.401 MB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.804e-06/1.186, allocations: 0 / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.703e-05/1.186, allocations: 7.984 kB / 1.115 GB, free: 4.434 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.0005609/1.187, allocations: 455.6 kB / 1.115 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.187, allocations: 8.031 kB / 1.115 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.604e-05/1.187, allocations: 46.48 kB / 1.115 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/1.187, allocations: 17.22 kB / 1.115 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/1.187, allocations: 248.3 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/1.187, allocations: 7.984 kB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/1.187, allocations: 4.625 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/1.188, allocations: 89.95 kB / 1.116 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.188, allocations: 3.984 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.188, allocations: 0.5625 kB / 1.116 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/1.188, allocations: 9.812 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.187e-05/1.188, allocations: 35.98 kB / 1.116 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/1.188, allocations: 366.9 kB / 1.116 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/1.188, allocations: 72.5 kB / 1.116 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/1.189, allocations: 37.62 kB / 1.116 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/1.189, allocations: 4 kB / 1.116 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/1.189, allocations: 76.55 kB / 1.116 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/1.189, allocations: 8.25 kB / 1.116 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002548/1.189, allocations: 109.5 kB / 1.116 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/1.189, allocations: 77.11 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/1.189, allocations: 242.6 kB / 1.117 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/1.189, allocations: 29.7 kB / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/1.189, allocations: 124 kB / 1.117 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/1.189, allocations: 27.69 kB / 1.117 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/1.189, allocations: 0 / 1.117 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.19, allocations: 326.8 kB / 1.117 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/1.19, allocations: 27.94 kB / 1.117 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/1.19, allocations: 59.41 kB / 1.117 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/1.19, allocations: 39.48 kB / 1.117 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.19, allocations: 0 / 1.117 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/1.19, allocations: 112 kB / 1.117 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.19, allocations: 8 kB / 1.117 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.19, allocations: 0 / 1.117 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.19, allocations: 0 / 1.117 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/1.19, allocations: 11.98 kB / 1.118 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.19, allocations: 7.938 kB / 1.118 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/1.19, allocations: 7.938 kB / 1.118 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/1.19, allocations: 8.094 kB / 1.118 GB, free: 1.547 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 8.676e-05/1.19, allocations: 124.9 kB / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/1.19, allocations: 15.81 kB / 1.118 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/1.191, allocations: 119.2 kB / 1.118 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.191, allocations: 5.875 kB / 1.118 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.191, allocations: 0 / 1.118 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.191, allocations: 0 / 1.118 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/1.191, allocations: 241.5 kB / 1.118 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.191, allocations: 7.938 kB / 1.118 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/1.191, allocations: 4 kB / 1.118 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/1.191, allocations: 0 / 1.118 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.191, allocations: 4 kB / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.191, allocations: 0 / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.191, allocations: 0 / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/1.191, allocations: 150.7 kB / 1.118 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/1.191, allocations: 96.92 kB / 1.118 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/1.191, allocations: 11.98 kB / 1.118 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.724e-05/1.191, allocations: 11.88 kB / 1.118 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/1.192, allocations: 3.984 kB / 1.118 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.192, allocations: 7.984 kB / 1.118 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001916/1.192, allocations: 192.4 kB / 1.118 GB, free: 492 kB / 0.7136 GB Notification: Performance of sort global known variables: time 1.453e-06/1.192, allocations: 0 / 1.118 GB, free: 492 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002369/1.192, allocations: 51.77 kB / 1.119 GB, free: 440 kB / 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.00127/1.193, allocations: 0.9641 MB / 1.119 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001883/1.193, allocations: 80.84 kB / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.193, allocations: 0 / 1.12 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/1.194, allocations: 39.94 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/1.194, allocations: 31.97 kB / 1.12 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006223/1.194, allocations: 301.4 kB / 1.12 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/1.195, allocations: 0.7281 MB / 1.121 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.02e-05/1.195, allocations: 27 kB / 1.121 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/1.195, allocations: 51.42 kB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/1.195, allocations: 0 / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01698/1.212, allocations: 4.082 MB / 1.125 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.212, allocations: 202 kB / 1.125 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.983, allocations: 0 / 1.125 GB, free: 10.21 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)