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.01067/0.01067, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.00239/0.00239, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.761/1.761, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.002106/0.002106, allocations: 68.38 kB / 0.7258 GB, free: 9.027 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 104.7 MB / 0.828 GB, free: 212 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002737/0.3235, allocations: 1.301 MB / 0.8293 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.324, allocations: 200.6 kB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.3241, allocations: 0 / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.3242, allocations: 0 / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.3242, allocations: 3.938 kB / 0.8295 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.3244, allocations: 19.92 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.3245, allocations: 31.91 kB / 0.8295 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3246, allocations: 12 kB / 0.8296 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.3247, allocations: 11.92 kB / 0.8296 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.3247, allocations: 11.94 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3248, allocations: 4 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.3248, allocations: 0 / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.3248, allocations: 15.92 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.094e-05/0.3249, allocations: 11.94 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.3251, allocations: 35.81 kB / 0.8296 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3251, allocations: 4 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3251, allocations: 0 / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3251, allocations: 0 / 0.8297 GB, free: 14.54 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.0005809/0.3257, allocations: 359.3 kB / 0.83 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3257, allocations: 11.97 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.3258, allocations: 4.938 kB / 0.83 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.326, allocations: 172.4 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.326, allocations: 4.312 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.326, allocations: 4.375 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3261, allocations: 46.25 kB / 0.8302 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3262, allocations: 192 / 0.8302 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3262, allocations: 11.88 kB / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3262, allocations: 0 / 0.8302 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.3262, allocations: 12 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.3268, allocations: 280.8 kB / 0.8305 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3269, allocations: 30.52 kB / 0.8305 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.884e-05/0.327, allocations: 16.91 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.327, allocations: 4 kB / 0.8306 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.3272, allocations: 51.41 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.895e-06/0.3272, allocations: 3.984 kB / 0.8306 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001949/0.3274, allocations: 57.64 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3274, allocations: 55.34 kB / 0.8307 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.722e-05/0.3275, allocations: 105.8 kB / 0.8308 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.3276, allocations: 25.7 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.3277, allocations: 92.14 kB / 0.8309 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.3277, allocations: 3.953 kB / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.3278, allocations: 21.7 kB / 0.831 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3279, allocations: 318.8 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.328, allocations: 8 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.328, allocations: 21.7 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.328, allocations: 25.72 kB / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3281, allocations: 0 / 0.8313 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.626e-05/0.3281, allocations: 53.62 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3282, allocations: 6.812 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3282, allocations: 0 / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3282, allocations: 4 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.3283, allocations: 0 / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3283, allocations: 3.938 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.3283, allocations: 15.88 kB / 0.8314 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3284, allocations: 12.03 kB / 0.8314 GB, free: 12.49 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.616e-05/0.3285, allocations: 113.7 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.3285, allocations: 4 kB / 0.8315 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.3285, allocations: 11.48 kB / 0.8315 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3285, allocations: 0 / 0.8315 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3285, allocations: 0 / 0.8315 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3285, allocations: 3.938 kB / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3287, allocations: 169.6 kB / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3287, allocations: 0 / 0.8317 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.3287, allocations: 4 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3287, allocations: 4 kB / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.3287, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3287, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3288, allocations: 0 / 0.8317 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3289, allocations: 77.06 kB / 0.8318 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.3289, allocations: 81.06 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.329, allocations: 4.188 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.329, allocations: 15.98 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.3291, allocations: 4 kB / 0.8319 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.3291, allocations: 4 kB / 0.8319 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.3292, allocations: 83.27 kB / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3292, allocations: 0 / 0.832 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002025/0.3294, allocations: 8 kB / 0.832 GB, free: 11.81 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.0001404/0.3295, allocations: 99.62 kB / 0.8321 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.3296, allocations: 27.91 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3297, allocations: 4.062 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.3297, allocations: 11.94 kB / 0.8321 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3299, allocations: 11.98 kB / 0.8321 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.3304, allocations: 121.9 kB / 0.8322 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3307, allocations: 0.6805 MB / 0.8329 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.3307, allocations: 7.984 kB / 0.8329 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.3308, allocations: 11.44 kB / 0.8329 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.3308, allocations: 4 kB / 0.8329 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.002862/0.3336, allocations: 0.5251 MB / 0.8334 GB, free: 10.25 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)