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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008874/0.008874, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001727/0.001727, allocations: 189.5 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.88 kB / 0.7258 GB, free: 9.051 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2951, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002705/0.2978, allocations: 1.304 MB / 0.8293 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004796/0.2983, allocations: 192.7 kB / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.2984, allocations: 0 / 0.8295 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2985, allocations: 3.938 kB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.821e-05/0.2986, allocations: 8 kB / 0.8295 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.2988, allocations: 15.92 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.2989, allocations: 27.92 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.299, allocations: 4 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.2991, allocations: 15.92 kB / 0.8296 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.2991, allocations: 19.86 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2992, allocations: 4 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.2992, allocations: 4 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.884e-05/0.2992, allocations: 11.98 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.2993, allocations: 11.94 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2994, allocations: 35.83 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.2994, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2995, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.2995, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 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.0007773/0.3003, allocations: 347.5 kB / 0.83 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3003, allocations: 19.97 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.3003, allocations: 4.844 kB / 0.83 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.3005, allocations: 176.3 kB / 0.8302 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3006, allocations: 8.375 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3006, allocations: 384 / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3007, allocations: 46.19 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3007, allocations: 4.125 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3007, allocations: 11.94 kB / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3007, allocations: 0 / 0.8302 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.282e-05/0.3008, allocations: 15.98 kB / 0.8303 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.3013, allocations: 284.8 kB / 0.8305 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.3013, allocations: 30.5 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.3014, allocations: 8.922 kB / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-06/0.3014, allocations: 0 / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.3015, allocations: 55.41 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 4.228e-06/0.3015, allocations: 3.984 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001917/0.3017, allocations: 61.62 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.3018, allocations: 51.41 kB / 0.8307 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.3019, allocations: 109.8 kB / 0.8308 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3019, allocations: 25.7 kB / 0.8309 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.302, allocations: 84.14 kB / 0.8309 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.302, allocations: 11.89 kB / 0.8309 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.302, allocations: 21.72 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3022, allocations: 314.8 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.3022, allocations: 8 kB / 0.8313 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.3022, allocations: 17.7 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.519e-05/0.3023, allocations: 33.66 kB / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3023, allocations: 0 / 0.8313 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.809e-05/0.3024, allocations: 45.69 kB / 0.8314 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3024, allocations: 15 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3024, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3024, allocations: 0 / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.64e-05/0.3025, allocations: 4 kB / 0.8314 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.3025, allocations: 11.86 kB / 0.8314 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.3026, allocations: 4 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3026, allocations: 0 / 0.8314 GB, free: 12.53 MB / 0.6544 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 9.553e-05/0.3027, allocations: 117.8 kB / 0.8315 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.3027, allocations: 3.906 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.3027, allocations: 19.48 kB / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3027, allocations: 0 / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3027, allocations: 256 / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3028, allocations: 0 / 0.8315 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.303, allocations: 169.6 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.303, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-06/0.303, allocations: 3.938 kB / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.303, allocations: 0 / 0.8317 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.303, allocations: 4 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.303, allocations: 0 / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.303, allocations: 4 kB / 0.8317 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.3031, allocations: 81 kB / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.3032, allocations: 77.11 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.3032, allocations: 0 / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.3033, allocations: 7.984 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3033, allocations: 0 / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3033, allocations: 7.984 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.05e-05/0.3034, allocations: 87.28 kB / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3034, allocations: 0 / 0.832 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001901/0.3036, allocations: 4 kB / 0.832 GB, free: 11.85 MB / 0.6544 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 0.0001174/0.3037, allocations: 99.62 kB / 0.8321 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.3038, allocations: 31.91 kB / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3038, allocations: 0 / 0.8321 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.3039, allocations: 11.94 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.3041, allocations: 16.05 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.3044, allocations: 125.9 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.3047, allocations: 0.6805 MB / 0.8329 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.3048, allocations: 7.984 kB / 0.8329 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.3048, allocations: 11.44 kB / 0.8329 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.3048, allocations: 0 / 0.8329 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.003703/0.3085, allocations: 0.528 MB / 0.8334 GB, free: 10.29 MB / 0.6544 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)