Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.854/2.854, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001595/0.001595, allocations: 187.5 kB / 370.8 MB, free: 10.86 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.326/2.326, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001057/0.001057, allocations: 94 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005194/0.0005194, allocations: 20.52 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2206, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0008064/0.2215, allocations: 344.2 kB / 0.9785 GB, free: 28.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.223, allocations: 1.069 MB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.2231, allocations: 0 / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.2232, allocations: 4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.174e-05/0.2232, allocations: 7.969 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.2238, allocations: 105.5 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.224, allocations: 39.95 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.2241, allocations: 11.98 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.982e-05/0.2241, allocations: 31.91 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.2242, allocations: 27.91 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.2243, allocations: 4 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.958e-05/0.2243, allocations: 19.92 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2244, allocations: 7.984 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.2245, allocations: 33.7 kB / 0.9799 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2246, allocations: 59.86 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2246, allocations: 0 / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2246, allocations: 0 / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2246, allocations: 4 kB / 0.9799 GB, free: 26.6 MB / 0.6198 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.0003836/0.225, allocations: 369.2 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2251, allocations: 8.031 kB / 0.9803 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.2252, allocations: 8 kB / 0.9803 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.2253, allocations: 179 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2254, allocations: 4 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.2254, allocations: 11.98 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.2255, allocations: 45.69 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2256, allocations: 4 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2256, allocations: 4 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2256, allocations: 0 / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/0.2257, allocations: 8 kB / 0.9805 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.226, allocations: 308.6 kB / 0.9808 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.2261, allocations: 26.56 kB / 0.9808 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.2261, allocations: 4 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.2263, allocations: 55.45 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.2263, allocations: 7.938 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002052/0.2265, allocations: 65.67 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2266, allocations: 55.36 kB / 0.981 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.777e-05/0.2266, allocations: 105.8 kB / 0.9811 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2267, allocations: 29.7 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.2267, allocations: 88.14 kB / 0.9812 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.2268, allocations: 15.83 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.2268, allocations: 0 / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.2268, allocations: 322.8 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.227, allocations: 23.98 kB / 0.9816 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.2271, allocations: 50.59 kB / 0.9816 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2272, allocations: 57.62 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2272, allocations: 4 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003283/0.2275, allocations: 147.2 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.2276, allocations: 41.69 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2276, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.2276, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.296e-05/0.2277, allocations: 4 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2277, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.2281, allocations: 40.02 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.2281, allocations: 8 kB / 0.9819 GB, free: 24.29 MB / 0.6198 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 9.504e-05/0.2282, allocations: 123.9 kB / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.2282, allocations: 0 / 0.982 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.2283, allocations: 7.906 kB / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2283, allocations: 0 / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2283, allocations: 4 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.2283, allocations: 0 / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.2284, allocations: 165.6 kB / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2285, allocations: 0 / 0.9822 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-06/0.2285, allocations: 4 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2285, allocations: 0 / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2285, allocations: 4 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2285, allocations: 4.25 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2285, allocations: 0 / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.2287, allocations: 88.97 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.2287, allocations: 81.11 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2287, allocations: 4 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.2288, allocations: 0 / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.2288, allocations: 0 / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2288, allocations: 0 / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.2288, allocations: 91.27 kB / 0.9825 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.383e-06/0.2289, allocations: 0 / 0.9825 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002901/0.2292, allocations: 19.88 kB / 0.9825 GB, free: 23.61 MB / 0.6198 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.0001452/0.2293, allocations: 103.2 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.2296, allocations: 123.3 kB / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2296, allocations: 0 / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.2296, allocations: 7.984 kB / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2299, allocations: 15.95 kB / 0.9827 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.2302, allocations: 142.7 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.2303, allocations: 0.6848 MB / 0.9835 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.2304, allocations: 0 / 0.9835 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.2304, allocations: 11.44 kB / 0.9835 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2304, allocations: 0 / 0.9835 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.004263/0.2347, allocations: 0.9531 MB / 0.9845 GB, free: 21.51 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)