Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009838, allocations: 91.06 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00695/0.006951, allocations: 170.4 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 12.33 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3683, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0009005/0.3692, allocations: 356 kB / 1.074 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3707, allocations: 1.12 MB / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.3707, allocations: 0 / 1.076 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.589e-05/0.3708, allocations: 3.938 kB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.908e-05/0.3708, allocations: 0 / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.3713, allocations: 115 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3714, allocations: 75.81 kB / 1.076 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.3715, allocations: 12 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.3716, allocations: 27.97 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.3717, allocations: 27.84 kB / 1.076 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3717, allocations: 4 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-05/0.3718, allocations: 19.98 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.3719, allocations: 7.984 kB / 1.076 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.372, allocations: 57.55 kB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.3721, allocations: 87.77 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3722, allocations: 0 / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3722, allocations: 0 / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3722, allocations: 4 kB / 1.076 GB, free: 5.605 MB / 0.8262 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.0004896/0.3727, allocations: 365.4 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3727, allocations: 8.031 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3728, allocations: 8.922 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.373, allocations: 180.4 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.373, allocations: 4.375 kB / 1.077 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.373, allocations: 8.359 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3732, allocations: 50.19 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3732, allocations: 192 / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3732, allocations: 11.94 kB / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3732, allocations: 0 / 1.077 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.944e-05/0.3732, allocations: 11.94 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004176/0.3737, allocations: 308.7 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.051e-05/0.3737, allocations: 30.5 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.3738, allocations: 8.859 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.3738, allocations: 4 kB / 1.077 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.3739, allocations: 59.45 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3739, allocations: 0 / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001901/0.3741, allocations: 61.53 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3742, allocations: 59.41 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.3743, allocations: 105.8 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3743, allocations: 25.7 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.3744, allocations: 96.14 kB / 1.077 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.3744, allocations: 3.906 kB / 1.077 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.3745, allocations: 17.7 kB / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3746, allocations: 322.8 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.299e-05/0.3747, allocations: 23.98 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.527e-05/0.3748, allocations: 54.55 kB / 1.078 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.3749, allocations: 88.14 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3749, allocations: 0 / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000257/0.3752, allocations: 147.2 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.3752, allocations: 34.64 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3753, allocations: 0 / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3753, allocations: 4 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.25e-05/0.3753, allocations: 4 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3753, allocations: 0 / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.3756, allocations: 44.05 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.3756, allocations: 4 kB / 1.078 GB, free: 3.227 MB / 0.8262 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 (booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/0.3757, allocations: 117.8 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.3757, allocations: 4 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.3758, allocations: 11.89 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3758, allocations: 240 / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3758, allocations: 0 / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3758, allocations: 0 / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.3759, allocations: 169.5 kB / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.376, allocations: 0 / 1.078 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-06/0.376, allocations: 7.984 kB / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.376, allocations: 0 / 1.078 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.376, allocations: 4.312 kB / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.376, allocations: 0 / 1.078 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.376, allocations: 4 kB / 1.078 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.479e-05/0.3761, allocations: 88.97 kB / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.3761, allocations: 77.11 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3762, allocations: 7.922 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.3762, allocations: 0 / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.3762, allocations: 4 kB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3762, allocations: 0 / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.3763, allocations: 83.28 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3763, allocations: 0 / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001978/0.3765, allocations: 27.98 kB / 1.079 GB, free: 2.527 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/0.3766, allocations: 103.2 kB / 1.079 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.3769, allocations: 123.3 kB / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3769, allocations: 0 / 1.079 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.3769, allocations: 11.94 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001911/0.3771, allocations: 15.92 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.3774, allocations: 134.8 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3777, allocations: 0.6809 MB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.177e-05/0.3777, allocations: 4 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.526e-05/0.3777, allocations: 7.438 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.3778, allocations: 0 / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.003551/0.3813, allocations: 0.9978 MB / 1.081 GB, free: 404 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1)