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.Or3.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.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007102/0.007102, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.001262/0.001262, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.82/1.82, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.677/1.677, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.001488/0.001488, allocations: 74.09 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3142, allocations: 104.7 MB / 0.8281 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.002812/0.317, allocations: 1.429 MB / 0.8295 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000573/0.3176, allocations: 232.6 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.3177, allocations: 0 / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.89e-05/0.3178, allocations: 11.88 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.3179, allocations: 15.84 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.3181, allocations: 19.92 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3183, allocations: 91.7 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3184, allocations: 20.16 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.869e-05/0.3185, allocations: 27.92 kB / 0.8299 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.018e-05/0.3186, allocations: 31.84 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.3186, allocations: 15.94 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3188, allocations: 4 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.569e-05/0.3188, allocations: 19.92 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.012e-05/0.3189, allocations: 27.86 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3191, allocations: 71.7 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.3191, allocations: 15.92 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3191, allocations: 3.938 kB / 0.83 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.3191, allocations: 0 / 0.83 GB, free: 14.14 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008949/0.32, allocations: 399.1 kB / 0.8304 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.3201, allocations: 12.03 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.3201, allocations: 4.844 kB / 0.8304 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3203, allocations: 176.3 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3203, allocations: 8.312 kB / 0.8306 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3203, allocations: 12.36 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3205, allocations: 50.25 kB / 0.8307 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3205, allocations: 7.922 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3206, allocations: 4 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3206, allocations: 4 kB / 0.8307 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.3207, allocations: 31.98 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.3213, allocations: 312.7 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.3214, allocations: 46.56 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.3215, allocations: 24.86 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3215, allocations: 0 / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.3217, allocations: 87.31 kB / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.3217, allocations: 0 / 0.8312 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003264/0.3221, allocations: 117.6 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.486e-05/0.3222, allocations: 55.41 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.3224, allocations: 129.7 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.3224, allocations: 26.08 kB / 0.8315 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.3225, allocations: 92.12 kB / 0.8316 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.3225, allocations: 23.72 kB / 0.8316 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.3226, allocations: 29.7 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3227, allocations: 330.7 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.3228, allocations: 20 kB / 0.832 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.403e-05/0.3229, allocations: 51.36 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.323, allocations: 67.36 kB / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.323, allocations: 0 / 0.8321 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001491/0.3232, allocations: 101.5 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3232, allocations: 4 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3232, allocations: 0 / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.3232, allocations: 4 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.3233, allocations: 11.92 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.661e-05/0.3234, allocations: 8.094 kB / 0.8322 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.3235, allocations: 19.92 kB / 0.8322 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3235, allocations: 4 kB / 0.8322 GB, free: 11.66 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,booPul3.pulseStart,$PRE.booPul3.pulseStart,booPul3.y,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 (13): * Single equations (assignments): 13 * 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.000111/0.3236, allocations: 123.5 kB / 0.8323 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.3236, allocations: 19.88 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.3237, allocations: 12.38 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3237, allocations: 0 / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3237, allocations: 4 kB / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3237, allocations: 0 / 0.8324 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.3239, allocations: 197.6 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.324, allocations: 4 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.206e-05/0.324, allocations: 4 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.324, allocations: 0 / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.324, allocations: 4 kB / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.324, allocations: 0 / 0.8326 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.324, allocations: 4 kB / 0.8326 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.3242, allocations: 128.9 kB / 0.8327 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.3243, allocations: 85 kB / 0.8328 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3243, allocations: 4 kB / 0.8328 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3244, allocations: 15.98 kB / 0.8328 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.3245, allocations: 15.97 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.3245, allocations: 4 kB / 0.8328 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.084e-05/0.3246, allocations: 95.27 kB / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3246, allocations: 0 / 0.8329 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002164/0.3248, allocations: 24 kB / 0.8329 GB, free: 10.84 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.y,booPul3.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002054/0.325, allocations: 107.1 kB / 0.833 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3252, allocations: 71.78 kB / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3252, allocations: 0 / 0.8331 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.3253, allocations: 28 kB / 0.8331 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.3256, allocations: 28.16 kB / 0.8331 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.3261, allocations: 182.9 kB / 0.8333 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3264, allocations: 0.6961 MB / 0.834 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.774e-05/0.3264, allocations: 8.547 kB / 0.834 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.3265, allocations: 19.44 kB / 0.834 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.3265, allocations: 3.938 kB / 0.834 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of Templates: time 0.004082/0.3306, allocations: 1.264 MB / 0.8353 GB, free: 8.391 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)