Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008981/0.008981, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001571/0.001571, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.63/1.63, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.648/1.648, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001828/0.001828, allocations: 67.91 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.315, allocations: 104.7 MB / 0.8281 GB, free: 308 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.003283/0.3183, allocations: 1.367 MB / 0.8294 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007187/0.3191, allocations: 208.6 kB / 0.8296 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.665e-05/0.3191, allocations: 0 / 0.8296 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.93e-05/0.3192, allocations: 3.938 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3194, allocations: 19.84 kB / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.3196, allocations: 15.98 kB / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.3198, allocations: 67.72 kB / 0.8297 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.32, allocations: 4 kB / 0.8297 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.3201, allocations: 23.92 kB / 0.8297 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.3202, allocations: 23.91 kB / 0.8297 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.3202, allocations: 4 kB / 0.8298 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.3202, allocations: 4 kB / 0.8298 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.3203, allocations: 7.984 kB / 0.8298 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.525e-05/0.3204, allocations: 27.86 kB / 0.8298 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3205, allocations: 51.75 kB / 0.8298 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.3206, allocations: 3.938 kB / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.845e-06/0.3206, allocations: 0 / 0.8298 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3206, allocations: 0 / 0.8298 GB, free: 14.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008577/0.3214, allocations: 377.9 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.3215, allocations: 8.031 kB / 0.8302 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.3216, allocations: 12.78 kB / 0.8302 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3218, allocations: 172.4 kB / 0.8304 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3218, allocations: 8.359 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3219, allocations: 4.375 kB / 0.8304 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.322, allocations: 50.25 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3221, allocations: 192 / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3221, allocations: 3.938 kB / 0.8305 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3221, allocations: 0 / 0.8305 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.3222, allocations: 23.98 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.3227, allocations: 288.7 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3228, allocations: 42.52 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.3229, allocations: 24.97 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3229, allocations: 0 / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.3231, allocations: 71.33 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3231, allocations: 0 / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002359/0.3234, allocations: 93.95 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.3234, allocations: 55.41 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3235, allocations: 117.8 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3236, allocations: 29.7 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.3236, allocations: 84.14 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.3237, allocations: 19.8 kB / 0.8313 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.3237, allocations: 17.72 kB / 0.8313 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3238, allocations: 322.8 kB / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.197e-05/0.3239, allocations: 12 kB / 0.8316 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/0.3239, allocations: 42.5 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.546e-05/0.324, allocations: 46.5 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.324, allocations: 4 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000115/0.3241, allocations: 73.62 kB / 0.8318 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3242, allocations: 4.062 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3242, allocations: 4 kB / 0.8318 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3242, allocations: 8.125 kB / 0.8318 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.3243, allocations: 7.938 kB / 0.8318 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3243, allocations: 7.922 kB / 0.8318 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.3244, allocations: 19.89 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3244, allocations: 0 / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,or1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001041/0.3245, allocations: 117.8 kB / 0.8319 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.3245, allocations: 7.984 kB / 0.8319 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.3246, allocations: 12.38 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3246, allocations: 4 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3246, allocations: 0 / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3246, allocations: 0 / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.3248, allocations: 185.4 kB / 0.8321 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3248, allocations: 0 / 0.8321 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.091e-05/0.3248, allocations: 3.938 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3248, allocations: 0 / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3248, allocations: 0 / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3248, allocations: 4 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.3248, allocations: 3.984 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.325, allocations: 105 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.3251, allocations: 81.02 kB / 0.8323 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3251, allocations: 4 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.3252, allocations: 7.984 kB / 0.8323 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.3252, allocations: 11.98 kB / 0.8323 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3253, allocations: 8 kB / 0.8323 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.3253, allocations: 95.27 kB / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3253, allocations: 0 / 0.8324 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001862/0.3255, allocations: 8 kB / 0.8324 GB, free: 11.46 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001619/0.3257, allocations: 107.2 kB / 0.8325 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.3258, allocations: 36.77 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3258, allocations: 0 / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.05e-05/0.3259, allocations: 31.92 kB / 0.8326 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3262, allocations: 24.34 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.3266, allocations: 146.2 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3269, allocations: 0.6874 MB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.3269, allocations: 11.84 kB / 0.8335 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.327, allocations: 15.38 kB / 0.8335 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of SimCode: time 1.91e-07/0.327, allocations: 0 / 0.8335 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of Templates: time 0.003669/0.3307, allocations: 0.9112 MB / 0.8344 GB, free: 9.449 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)