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.39/1.39, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009604/0.0009603, allocations: 170.5 kB / 326.5 MB, free: 2.707 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.971/1.971, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0008188/0.0008188, allocations: 98 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 7.438 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2263, allocations: 105.4 MB / 0.8968 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.00172/0.2281, allocations: 1.034 MB / 0.8978 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000432/0.2286, allocations: 189 kB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.211e-05/0.2287, allocations: 0 / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.2288, allocations: 0 / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.2288, allocations: 19.91 kB / 0.898 GB, free: 66.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.229, allocations: 8 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.2291, allocations: 27.92 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.2292, allocations: 7.938 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.2292, allocations: 11.88 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.383e-05/0.2293, allocations: 11.98 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.2293, allocations: 0 / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.2293, allocations: 4 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.2294, allocations: 15.91 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.2294, allocations: 11.94 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.2295, allocations: 32.17 kB / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2295, allocations: 0 / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2295, allocations: 0 / 0.8981 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2295, allocations: 0 / 0.8981 GB, free: 66.81 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.0004134/0.23, allocations: 339.5 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.23, allocations: 8.031 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.2301, allocations: 12.84 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.2302, allocations: 172.3 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.2302, allocations: 4.375 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2303, allocations: 8.375 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.2304, allocations: 46.19 kB / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2304, allocations: 192 / 0.8987 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2304, allocations: 11.86 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2304, allocations: 0 / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.2305, allocations: 12 kB / 0.8987 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.2309, allocations: 288.8 kB / 0.8989 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.231, allocations: 34.52 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.231, allocations: 12.92 kB / 0.899 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.231, allocations: 0 / 0.899 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.2312, allocations: 59.39 kB / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2312, allocations: 0 / 0.8991 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001673/0.2314, allocations: 57.61 kB / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.2314, allocations: 51.41 kB / 0.8992 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.2315, allocations: 109.8 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2315, allocations: 29.7 kB / 0.8993 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.2315, allocations: 84.05 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.2315, allocations: 11.89 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.2316, allocations: 17.72 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.51e-05/0.2316, allocations: 322.8 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.2317, allocations: 4 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.2317, allocations: 21.72 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.672e-05/0.2317, allocations: 29.64 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2317, allocations: 0 / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.883e-05/0.2318, allocations: 45.69 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2318, allocations: 12.03 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2318, allocations: 0 / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2319, allocations: 3.938 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.826e-05/0.2319, allocations: 8.188 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2319, allocations: 0 / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.232, allocations: 15.98 kB / 0.8998 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.232, allocations: 7.984 kB / 0.8998 GB, free: 64.77 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,booPul.pulseStart,$PRE.booPul.pulseStart,booRep.y[3]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.849e-05/0.2321, allocations: 113.8 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.2321, allocations: 4 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.2321, allocations: 7.5 kB / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2321, allocations: 0 / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2321, allocations: 0 / 0.9 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2322, allocations: 7.938 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.2323, allocations: 165.6 kB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2323, allocations: 0 / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.473e-06/0.2323, allocations: 0 / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2323, allocations: 0 / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2323, allocations: 0 / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2323, allocations: 0 / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2323, allocations: 4 kB / 0.9001 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.985e-05/0.2324, allocations: 88.89 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.2324, allocations: 77.11 kB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.2325, allocations: 4 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.2325, allocations: 7.984 kB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.2326, allocations: 4 kB / 0.9003 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.2326, allocations: 8 kB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.34e-05/0.2326, allocations: 83.27 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2326, allocations: 0 / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001948/0.2328, allocations: 8 kB / 0.9004 GB, free: 64.09 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.7e-05/0.2329, allocations: 99.25 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.233, allocations: 28.23 kB / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.233, allocations: 0 / 0.9005 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.211e-05/0.233, allocations: 8 kB / 0.9005 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.2332, allocations: 16.19 kB / 0.9005 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.2335, allocations: 157.6 kB / 0.9007 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2337, allocations: 0.6887 MB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.2337, allocations: 7.438 kB / 0.9014 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.2337, allocations: 4 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.001776/0.2355, allocations: 0.6537 MB / 0.902 GB, free: 62.38 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)