Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.001008/0.001008, allocations: 192.5 kB / 373 MB, free: 10.14 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.471/1.471, allocations: 205.4 MB / 0.6317 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008264/0.0008265, allocations: 88.14 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004686, allocations: 12.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2858, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8742/1.16, allocations: 138.1 MB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.16, allocations: 70.25 kB / 1.116 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005978/1.166, allocations: 1.835 MB / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/1.166, allocations: 0 / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.166, allocations: 3.844 kB / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004777/1.167, allocations: 370.7 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.167, allocations: 15.53 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/1.167, allocations: 4.906 kB / 1.118 GB, free: 31.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/1.167, allocations: 180.7 kB / 1.118 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/1.167, allocations: 7.719 kB / 1.118 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/1.167, allocations: 11.53 kB / 1.118 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/1.168, allocations: 47.48 kB / 1.118 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.168, allocations: 192 / 1.118 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/1.168, allocations: 3.938 kB / 1.118 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.168, allocations: 0 / 1.118 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/1.168, allocations: 11.5 kB / 1.118 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/1.168, allocations: 312.9 kB / 1.118 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.659e-05/1.168, allocations: 14.58 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/1.168, allocations: 12.61 kB / 1.118 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-06/1.168, allocations: 0 / 1.118 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.955e-05/1.168, allocations: 60.39 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/1.168, allocations: 0 / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002091/1.168, allocations: 63.83 kB / 1.119 GB, free: 30.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.169, allocations: 55.28 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/1.169, allocations: 108.5 kB / 1.119 GB, free: 30.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/1.169, allocations: 28.28 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/1.169, allocations: 91.89 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/1.169, allocations: 11.5 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/1.169, allocations: 0 / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.169, allocations: 321.6 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.053e-05/1.169, allocations: 26.06 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/1.169, allocations: 51.69 kB / 1.119 GB, free: 30.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/1.169, allocations: 89.83 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.169, allocations: 0 / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002/1.169, allocations: 140.4 kB / 1.119 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/1.169, allocations: 38.38 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.17, allocations: 4.094 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.17, allocations: 0 / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.797e-05/1.17, allocations: 3.781 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.17, allocations: 0 / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/1.17, allocations: 41.09 kB / 1.119 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/1.17, allocations: 14.97 kB / 1.12 GB, free: 30.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001178/1.17, allocations: 114.2 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/1.17, allocations: 7.719 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/1.17, allocations: 14.84 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.17, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.17, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.17, allocations: 0 / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/1.17, allocations: 163.8 kB / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/1.17, allocations: 3.656 kB / 1.12 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-06/1.17, allocations: 4 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/1.17, allocations: 0 / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/1.17, allocations: 320 / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.17, allocations: 4 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.17, allocations: 0 / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.859e-05/1.17, allocations: 86.53 kB / 1.12 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/1.17, allocations: 81.02 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/1.17, allocations: 7.688 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.277e-05/1.17, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/1.17, allocations: 7.188 kB / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/1.17, allocations: 0 / 1.12 GB, free: 29.67 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.762e-05/1.17, allocations: 82.97 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/1.17, allocations: 0 / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002113/1.171, allocations: 26.19 kB / 1.12 GB, free: 29.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001936/1.171, allocations: 102.6 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002062/1.171, allocations: 130.5 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.171, allocations: 4.188 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/1.171, allocations: 7.156 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.171, allocations: 16.19 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/1.172, allocations: 129.2 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/1.172, allocations: 0.682 MB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.909e-05/1.172, allocations: 7.906 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/1.172, allocations: 7.438 kB / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/1.172, allocations: 0 / 1.121 GB, free: 28.6 MB / 0.698 GB Notification: Performance of Templates: time 0.003301/1.175, allocations: 0.9792 MB / 1.122 GB, free: 28.5 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)