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.008725/0.008724, allocations: 100.7 kB / 15.73 MB, free: 5.59 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.001202/0.001202, allocations: 189.6 kB / 16.67 MB, free: 5.523 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.806/1.806, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.458/1.458, allocations: 251.7 MB / 0.5094 GB, free: 396 kB / 430.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.001512/0.001512, allocations: 63.91 kB / 0.7258 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7794, allocations: 104.7 MB / 0.8281 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002893/0.7823, allocations: 1.362 MB / 0.8294 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005835/0.783, allocations: 210.5 kB / 0.8296 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.783, allocations: 0 / 0.8296 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/0.7831, allocations: 3.938 kB / 0.8296 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.852e-05/0.7832, allocations: 15.86 kB / 0.8296 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.7834, allocations: 15.92 kB / 0.8296 GB, free: 1 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.7835, allocations: 71.7 kB / 0.8297 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.7837, allocations: 11.98 kB / 0.8297 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.7838, allocations: 23.92 kB / 0.8297 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.7839, allocations: 15.92 kB / 0.8297 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.7839, allocations: 8 kB / 0.8298 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.7839, allocations: 4 kB / 0.8298 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.784, allocations: 11.92 kB / 0.8298 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.784, allocations: 23.92 kB / 0.8298 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.7842, allocations: 59.25 kB / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.7842, allocations: 0 / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7842, allocations: 0 / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.7842, allocations: 0 / 0.8298 GB, free: 0.7773 MB / 0.6231 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.0007215/0.7849, allocations: 365.7 kB / 0.8302 GB, free: 380 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.785, allocations: 12.03 kB / 0.8302 GB, free: 368 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.785, allocations: 4.844 kB / 0.8302 GB, free: 364 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.7852, allocations: 172.3 kB / 0.8304 GB, free: 152 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.7853, allocations: 4.375 kB / 0.8304 GB, free: 148 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.7853, allocations: 4.375 kB / 0.8304 GB, free: 144 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.7854, allocations: 54.22 kB / 0.8304 GB, free: 84 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.7855, allocations: 4.188 kB / 0.8304 GB, free: 80 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.7855, allocations: 7.938 kB / 0.8304 GB, free: 72 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.7855, allocations: 0 / 0.8304 GB, free: 72 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.7856, allocations: 27.92 kB / 0.8305 GB, free: 44 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.7861, allocations: 284.8 kB / 0.8307 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.7862, allocations: 42.52 kB / 0.8308 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.7863, allocations: 24.97 kB / 0.8308 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.7863, allocations: 0 / 0.8308 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.7865, allocations: 71.33 kB / 0.8309 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7865, allocations: 0 / 0.8309 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.000244/0.7868, allocations: 89.58 kB / 0.831 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.7868, allocations: 55.47 kB / 0.831 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.7869, allocations: 113.8 kB / 0.8311 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.787, allocations: 25.7 kB / 0.8311 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.787, allocations: 92.14 kB / 0.8312 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.7871, allocations: 11.81 kB / 0.8312 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.7871, allocations: 29.64 kB / 0.8313 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7873, allocations: 322.8 kB / 0.8316 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.7873, allocations: 15.98 kB / 0.8316 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.7874, allocations: 34.5 kB / 0.8316 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.7874, allocations: 54.45 kB / 0.8317 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7874, allocations: 0 / 0.8317 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001135/0.7876, allocations: 77.53 kB / 0.8318 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.7876, allocations: 8 kB / 0.8318 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7876, allocations: 0 / 0.8318 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7876, allocations: 0 / 0.8318 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.371e-05/0.7877, allocations: 4 kB / 0.8318 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7877, allocations: 8.062 kB / 0.8318 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.603e-05/0.7878, allocations: 11.92 kB / 0.8318 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.7878, allocations: 8 kB / 0.8318 GB, free: 14.54 MB / 0.6387 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 8.707e-05/0.7879, allocations: 121.8 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.7879, allocations: 4 kB / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.788, allocations: 8.375 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.788, allocations: 3.938 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.788, allocations: 0 / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.788, allocations: 4 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.7882, allocations: 185.5 kB / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7882, allocations: 0 / 0.8321 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.7882, allocations: 4 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7882, allocations: 0 / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.7882, allocations: 3.984 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7882, allocations: 0 / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7882, allocations: 0.7031 kB / 0.8321 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.7884, allocations: 101 kB / 0.8322 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.7885, allocations: 89.02 kB / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.7885, allocations: 0 / 0.8323 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.7886, allocations: 15.98 kB / 0.8323 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.7886, allocations: 7.984 kB / 0.8323 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.7886, allocations: 7.938 kB / 0.8323 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.895e-05/0.7887, allocations: 95.33 kB / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7887, allocations: 0 / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000195/0.7889, allocations: 12 kB / 0.8324 GB, free: 13.79 MB / 0.6387 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.0001339/0.7891, allocations: 108.2 kB / 0.8325 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.7892, allocations: 47.91 kB / 0.8326 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7892, allocations: 0 / 0.8326 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.7893, allocations: 23.98 kB / 0.8326 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.7895, allocations: 24.05 kB / 0.8326 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.79, allocations: 158.1 kB / 0.8328 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.7903, allocations: 0.6872 MB / 0.8334 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.7903, allocations: 7.859 kB / 0.8335 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.7904, allocations: 11.44 kB / 0.8335 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of SimCode: time 3.3e-07/0.7904, allocations: 0 / 0.8335 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of Templates: time 0.003623/0.794, allocations: 0.9083 MB / 0.8344 GB, free: 11.77 MB / 0.6387 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)