Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.327/1.327, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009665/0.0009665, allocations: 178 kB / 327.6 MB, free: 2.16 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.46/1.46, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0007479/0.0007479, allocations: 95.27 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 12.66 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.3925, allocations: 131.5 MB / 1.03 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3928, allocations: 71.94 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001921/0.3947, allocations: 0.6727 MB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3948, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.3948, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004321/0.3952, allocations: 352.7 kB / 1.031 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3953, allocations: 8.031 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.3953, allocations: 8.844 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.3955, allocations: 172.4 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3955, allocations: 384 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3956, allocations: 4.375 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.3957, allocations: 46.25 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3957, allocations: 192 / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3957, allocations: 3.938 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.3957, allocations: 8 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.316e-05/0.3958, allocations: 15.98 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.3962, allocations: 280.8 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.3963, allocations: 34.56 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.3964, allocations: 12.86 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.3964, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.915e-05/0.3965, allocations: 63.33 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3965, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.3967, allocations: 57.59 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3967, allocations: 51.41 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.3968, allocations: 109.8 kB / 1.032 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3968, allocations: 29.7 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.3969, allocations: 88.05 kB / 1.032 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.3969, allocations: 3.984 kB / 1.032 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.3969, allocations: 4 kB / 1.032 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.397, allocations: 318.8 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3971, allocations: 7.938 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.3971, allocations: 25.64 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.3972, allocations: 25.72 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3972, allocations: 0 / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.136e-05/0.3973, allocations: 61.53 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3973, allocations: 4 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3973, allocations: 0 / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3973, allocations: 0 / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.3974, allocations: 4 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3974, allocations: 0 / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.3974, allocations: 12.02 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.3975, allocations: 4 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * 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.784e-05/0.3976, allocations: 117.8 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3976, allocations: 0 / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.3976, allocations: 3.5 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3976, allocations: 4 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3976, allocations: 0 / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3976, allocations: 0 / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.3978, allocations: 173.6 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3978, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-06/0.3978, allocations: 3.938 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3978, allocations: 0 / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3978, allocations: 0 / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3979, allocations: 3.984 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3979, allocations: 0 / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.398, allocations: 77.06 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.398, allocations: 84.95 kB / 1.033 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3981, allocations: 8 kB / 1.033 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.935e-05/0.3981, allocations: 7.984 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3982, allocations: 4.375 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3982, allocations: 0 / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.3982, allocations: 91.52 kB / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3982, allocations: 0 / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001771/0.3984, allocations: 4 kB / 1.033 GB, free: 8.641 MB / 0.6823 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,booRep.y[3],booPul.pulseStart) * 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.0001262/0.3985, allocations: 107.2 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.233e-05/0.3986, allocations: 27.91 kB / 1.033 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3987, allocations: 3.938 kB / 1.033 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/0.3987, allocations: 8 kB / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.3989, allocations: 11.98 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.3992, allocations: 140.1 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3995, allocations: 0.6809 MB / 1.034 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.3995, allocations: 3.984 kB / 1.034 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.3995, allocations: 11.44 kB / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3995, allocations: 0 / 1.034 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.002431/0.402, allocations: 461.2 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)