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.463/1.463, allocations: 252 MB / 267.6 MB, free: 10.93 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.001007/0.001007, allocations: 182.2 kB / 327.3 MB, free: 2.195 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.759/1.759, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008549/0.0008551, allocations: 86.25 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 10.66 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.202, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001266/0.2033, allocations: 1.025 MB / 0.9018 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003503/0.2037, allocations: 185.7 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.2037, allocations: 3.938 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.236e-05/0.2038, allocations: 4 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.66e-05/0.2039, allocations: 3.938 kB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.204, allocations: 11.98 kB / 0.902 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.206e-05/0.2041, allocations: 27.92 kB / 0.9021 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.2042, allocations: 4 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.2042, allocations: 15.92 kB / 0.9021 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.2043, allocations: 11.92 kB / 0.9021 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.2043, allocations: 4 kB / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.2043, allocations: 0 / 0.9021 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.2044, allocations: 11.98 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.2044, allocations: 25.7 kB / 0.9021 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.626e-05/0.2045, allocations: 23.95 kB / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2045, allocations: 0 / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2045, allocations: 0 / 0.9022 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2045, allocations: 0 / 0.9022 GB, free: 62.5 MB / 0.6042 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.0004152/0.2049, allocations: 351.5 kB / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.205, allocations: 8.031 kB / 0.9025 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.205, allocations: 3.906 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2051, allocations: 182.9 kB / 0.9027 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2052, allocations: 7.984 kB / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2052, allocations: 0 / 0.9027 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.914e-05/0.2053, allocations: 53.69 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2053, allocations: 0 / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2053, allocations: 3.938 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2053, allocations: 3.984 kB / 0.9027 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.248e-05/0.2054, allocations: 12 kB / 0.9028 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.2058, allocations: 292.8 kB / 0.903 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.898e-05/0.2058, allocations: 26.58 kB / 0.9031 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.2059, allocations: 8.859 kB / 0.9031 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2059, allocations: 4.062 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.206, allocations: 55.33 kB / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.206, allocations: 0 / 0.9031 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001464/0.2061, allocations: 53.69 kB / 0.9032 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.2062, allocations: 59.36 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.2062, allocations: 113.8 kB / 0.9033 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2063, allocations: 25.7 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.2063, allocations: 92.03 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.2063, allocations: 4 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.2063, allocations: 0 / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.2064, allocations: 310.8 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.2064, allocations: 11.98 kB / 0.9038 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.2064, allocations: 25.66 kB / 0.9038 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.994e-05/0.2065, allocations: 8 kB / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2065, allocations: 0 / 0.9038 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.268e-05/0.2065, allocations: 49.59 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2066, allocations: 8 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2066, allocations: 0 / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2066, allocations: 0 / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.2066, allocations: 11.92 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2067, allocations: 7.984 kB / 0.9039 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.2067, allocations: 8 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2067, allocations: 7.938 kB / 0.9039 GB, free: 60.5 MB / 0.6042 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 6.181e-05/0.2068, allocations: 105.8 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-06/0.2068, allocations: 7.984 kB / 0.904 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.2068, allocations: 7.5 kB / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2068, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.2069, allocations: 0 / 0.904 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.2069, allocations: 12.28 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.589e-05/0.207, allocations: 161.6 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.207, allocations: 4 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-06/0.207, allocations: 0 / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.207, allocations: 7.922 kB / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.207, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.207, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.207, allocations: 0 / 0.9042 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.862e-05/0.2071, allocations: 84.92 kB / 0.9043 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.2071, allocations: 81.11 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.2071, allocations: 3.984 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.954e-05/0.2072, allocations: 8 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.2072, allocations: 3.984 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.2072, allocations: 8 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.238e-05/0.2073, allocations: 79.28 kB / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2073, allocations: 0 / 0.9044 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001877/0.2075, allocations: 4 kB / 0.9044 GB, free: 59.83 MB / 0.6042 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 8.557e-05/0.2076, allocations: 108.4 kB / 0.9045 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.334e-05/0.2077, allocations: 23.92 kB / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2077, allocations: 0 / 0.9046 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.6e-05/0.2077, allocations: 4 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2079, allocations: 15.94 kB / 0.9046 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.2082, allocations: 172.2 kB / 0.9048 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.2083, allocations: 0.6809 MB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.2083, allocations: 7.438 kB / 0.9054 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2083, allocations: 0 / 0.9054 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of Templates: time 0.001791/0.2101, allocations: 0.6525 MB / 0.9061 GB, free: 58.11 MB / 0.6042 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)