Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.4 MB / 303.7 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00201/0.00201, allocations: 190.8 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009628/0.000963, allocations: 96.8 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006217/0.0006219, allocations: 16.88 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2935, allocations: 115.3 MB / 0.9801 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or3): time 0.0009711/0.2946, allocations: 434.5 kB / 0.9806 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.2962, allocations: 1.235 MB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.2963, allocations: 0 / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.2963, allocations: 7.938 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.2964, allocations: 15.86 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009958/0.2975, allocations: 268.5 kB / 0.982 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.2977, allocations: 199.6 kB / 0.9822 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.2979, allocations: 24.16 kB / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2981, allocations: 87.81 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.2982, allocations: 71.77 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.2983, allocations: 12 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.2984, allocations: 23.98 kB / 0.9824 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.2984, allocations: 8 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.2986, allocations: 105.5 kB / 0.9826 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.2988, allocations: 147.9 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2988, allocations: 4 kB / 0.9827 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2988, allocations: 3.984 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.2988, allocations: 0 / 0.9827 GB, free: 24.67 MB / 0.6198 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.0004689/0.2993, allocations: 460.3 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2993, allocations: 12.03 kB / 0.9832 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.2994, allocations: 16.84 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2996, allocations: 176.2 kB / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2996, allocations: 8.375 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.2996, allocations: 16.38 kB / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.2998, allocations: 54.23 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2998, allocations: 7.938 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2998, allocations: 11.97 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2998, allocations: 3.938 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.2999, allocations: 16 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.3005, allocations: 420.4 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.041e-05/0.3005, allocations: 30.58 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.3006, allocations: 28.94 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.3006, allocations: 4 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.3008, allocations: 99.19 kB / 0.984 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.013e-06/0.3008, allocations: 0 / 0.984 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003153/0.3011, allocations: 137.5 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3011, allocations: 59.41 kB / 0.9842 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3013, allocations: 128.4 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.3013, allocations: 33.7 kB / 0.9843 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.3014, allocations: 104 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.3014, allocations: 19.81 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.3014, allocations: 8 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.3015, allocations: 326.8 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.3017, allocations: 83.95 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.3019, allocations: 143.1 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3021, allocations: 233.3 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3021, allocations: 0 / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005217/0.3026, allocations: 366.5 kB / 0.9856 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.3027, allocations: 98.81 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3027, allocations: 8.297 kB / 0.9857 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3028, allocations: 4 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.3028, allocations: 8.188 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3028, allocations: 4 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.3034, allocations: 115.7 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/0.3034, allocations: 23.98 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y,$PRE.booPul3.y,booPul3.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): 10 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3036, allocations: 140.8 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.3036, allocations: 7.906 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.3036, allocations: 8.375 kB / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3037, allocations: 0 / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.3037, allocations: 0 / 0.986 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3037, allocations: 7.984 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3038, allocations: 197.5 kB / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3039, allocations: 0 / 0.9862 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.3039, allocations: 3.938 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3039, allocations: 0 / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3039, allocations: 7.984 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3039, allocations: 4 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3039, allocations: 0 / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.3041, allocations: 136.9 kB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.3041, allocations: 85.02 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.3042, allocations: 11.98 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.3042, allocations: 4 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.3042, allocations: 7.984 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3043, allocations: 8 kB / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.3043, allocations: 96.95 kB / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3043, allocations: 0 / 0.9865 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002468/0.3046, allocations: 47.91 kB / 0.9866 GB, free: 20.3 MB / 0.6198 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y,booPul3.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002028/0.3048, allocations: 111.2 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003958/0.3052, allocations: 366 kB / 0.987 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3052, allocations: 4.375 kB / 0.987 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.3053, allocations: 39.92 kB / 0.9871 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.3055, allocations: 28.14 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.306, allocations: 203.5 kB / 0.9873 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.3061, allocations: 0.6965 MB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.3062, allocations: 4.438 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.3062, allocations: 19.38 kB / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.3062, allocations: 0 / 0.988 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.004824/0.311, allocations: 2.436 MB / 0.9904 GB, free: 16.34 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Or3.pipe 2>&1)