Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.747/2.747, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001434/0.001434, allocations: 176.8 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001089/0.001089, allocations: 98.34 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.693e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8329/0.8329, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/1.081, allocations: 141.1 MB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.081, allocations: 73.2 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.024/1.105, allocations: 5.37 MB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/1.105, allocations: 0.6562 kB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.456e-05/1.105, allocations: 4.625 kB / 1.107 GB, free: 9.957 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.0007511/1.106, allocations: 465.3 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.106, allocations: 8.031 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/1.106, allocations: 17.02 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/1.106, allocations: 253.3 kB / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.107, allocations: 0 / 1.107 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/1.107, allocations: 4 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001439/1.107, allocations: 39.92 kB / 1.107 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/1.107, allocations: 81.64 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.107, allocations: 0 / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/1.107, allocations: 3.938 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/1.107, allocations: 3.156 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/1.108, allocations: 341.2 kB / 1.108 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/1.108, allocations: 66.67 kB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/1.108, allocations: 35.58 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/1.108, allocations: 0 / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/1.108, allocations: 83.42 kB / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.195e-06/1.108, allocations: 0 / 1.108 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003776/1.109, allocations: 113.3 kB / 1.108 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.109, allocations: 77.11 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/1.109, allocations: 235 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/1.109, allocations: 25.7 kB / 1.108 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.109, allocations: 120 kB / 1.108 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/1.109, allocations: 19.7 kB / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/1.109, allocations: 0 / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.109, allocations: 339.5 kB / 1.109 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/1.11, allocations: 31.94 kB / 1.109 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/1.11, allocations: 56.84 kB / 1.109 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/1.11, allocations: 33.39 kB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.11, allocations: 0 / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002879/1.11, allocations: 109.4 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.11, allocations: 4 kB / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.11, allocations: 8.062 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.11, allocations: 1.625 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.11, allocations: 11.98 kB / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.11, allocations: 0 / 1.109 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.111, allocations: 8.5 kB / 1.109 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/1.111, allocations: 4 kB / 1.109 GB, free: 7.199 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.0001219/1.111, allocations: 113.4 kB / 1.109 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002903/1.111, allocations: 117.6 kB / 1.109 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/1.111, allocations: 27.75 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/1.111, allocations: 119.4 kB / 1.109 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/1.111, allocations: 7.984 kB / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.111, allocations: 0.875 kB / 1.109 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.111, allocations: 3.953 kB / 1.109 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/1.112, allocations: 206.1 kB / 1.11 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/1.112, allocations: 0 / 1.11 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/1.112, allocations: 7.984 kB / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.112, allocations: 0 / 1.11 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.112, allocations: 7.188 kB / 1.11 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.112, allocations: 4 kB / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.112, allocations: 0 / 1.11 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/1.112, allocations: 148.8 kB / 1.11 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/1.112, allocations: 104.8 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/1.112, allocations: 3.281 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/1.113, allocations: 7.984 kB / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/1.113, allocations: 8 kB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/1.113, allocations: 11.98 kB / 1.11 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002705/1.113, allocations: 184.2 kB / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.113, allocations: 0 / 1.11 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003927/1.113, allocations: 43.92 kB / 1.11 GB, free: 6.008 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.001663/1.115, allocations: 0.9334 MB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002633/1.115, allocations: 73.41 kB / 1.111 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/1.115, allocations: 0.5625 kB / 1.111 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/1.115, allocations: 43.92 kB / 1.111 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/1.116, allocations: 23.97 kB / 1.111 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/1.117, allocations: 290.5 kB / 1.111 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/1.117, allocations: 0.7318 MB / 1.112 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001305/1.117, allocations: 27.61 kB / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/1.117, allocations: 51.41 kB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.117, allocations: 0 / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04065/1.158, allocations: 3.641 MB / 1.116 GB, free: 396 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002993/1.158, allocations: 174.7 kB / 1.116 GB, free: 200 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.653, allocations: 0 / 1.116 GB, free: 200 kB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)