Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001326/0.001326, allocations: 188.8 kB / 16.25 MB, free: 6.621 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.7/1.7, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.2 MB / 0.5485 GB, free: 13.65 MB / 462.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.001567/0.001567, allocations: 74.09 kB / 0.671 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3118, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002831/0.3147, allocations: 0.8952 MB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3172, allocations: 1.481 MB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.3174, allocations: 7.938 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.3177, allocations: 7.938 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3178, allocations: 23.78 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.3194, allocations: 496.3 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.3204, allocations: 0.4992 MB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.3206, allocations: 37.48 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/0.3211, allocations: 183.7 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.3214, allocations: 147.6 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.3216, allocations: 44 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.3218, allocations: 55.97 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.3219, allocations: 43.84 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.3221, allocations: 163.4 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007132/0.3228, allocations: 399.2 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.3229, allocations: 3.984 kB / 0.7872 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3229, allocations: 4 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.114e-05/0.3229, allocations: 0 / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001385/0.3243, allocations: 0.6398 MB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3244, allocations: 16.03 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.3245, allocations: 24.75 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.325, allocations: 264 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.325, allocations: 28.3 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.3251, allocations: 28.38 kB / 0.7882 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.3254, allocations: 151.4 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3254, allocations: 192 / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3254, allocations: 3.938 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3255, allocations: 11.98 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.3256, allocations: 86.98 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3268, allocations: 0.7108 MB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3271, allocations: 171.6 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.3272, allocations: 44.91 kB / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.3272, allocations: 0 / 0.7893 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.3275, allocations: 163.3 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.3275, allocations: 0 / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0005292/0.328, allocations: 244.1 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3281, allocations: 55.41 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/0.3283, allocations: 187.1 kB / 0.79 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.3284, allocations: 41.7 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.3286, allocations: 132.4 kB / 0.7901 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.3286, allocations: 43.45 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.3288, allocations: 121.6 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002492/0.3291, allocations: 326.8 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.3295, allocations: 155.8 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.3299, allocations: 234.3 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.3304, allocations: 412.7 kB / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3304, allocations: 0 / 0.7914 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001083/0.3315, allocations: 0.6174 MB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/0.3317, allocations: 168.5 kB / 0.7921 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3317, allocations: 7.938 kB / 0.7921 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3317, allocations: 4 kB / 0.7921 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.3318, allocations: 7.938 kB / 0.7921 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3318, allocations: 4 kB / 0.7921 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/0.3328, allocations: 143.8 kB / 0.7923 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.3328, allocations: 35.97 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002121/0.3331, allocations: 161.5 kB / 0.7925 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.3331, allocations: 15.81 kB / 0.7925 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.3332, allocations: 25.8 kB / 0.7925 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3332, allocations: 4 kB / 0.7925 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3332, allocations: 0 / 0.7925 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3332, allocations: 0 / 0.7925 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006455/0.3338, allocations: 0.506 MB / 0.793 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3339, allocations: 0 / 0.793 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.293e-05/0.3339, allocations: 7.984 kB / 0.793 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3339, allocations: 4 kB / 0.793 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3339, allocations: 4 kB / 0.793 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3339, allocations: 0 / 0.793 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3339, allocations: 0 / 0.793 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3343, allocations: 293.7 kB / 0.7933 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.3343, allocations: 92.86 kB / 0.7934 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.3344, allocations: 12 kB / 0.7934 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.3344, allocations: 3.984 kB / 0.7934 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.3345, allocations: 27.92 kB / 0.7934 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.3345, allocations: 11.98 kB / 0.7934 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.634e-05/0.3346, allocations: 115.2 kB / 0.7936 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3346, allocations: 4 kB / 0.7936 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003821/0.335, allocations: 79.91 kB / 0.7936 GB, free: 2.32 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002293/0.3353, allocations: 116.3 kB / 0.7937 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008736/0.3362, allocations: 0.6296 MB / 0.7944 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3362, allocations: 0 / 0.7944 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3363, allocations: 79.91 kB / 0.7944 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.3368, allocations: 44.47 kB / 0.7945 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007039/0.3375, allocations: 376.2 kB / 0.7948 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.3379, allocations: 0.732 MB / 0.7956 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.954e-05/0.338, allocations: 25.53 kB / 0.7956 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.338, allocations: 19.44 kB / 0.7956 GB, free: 200 kB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.338, allocations: 0 / 0.7956 GB, free: 200 kB / 0.6075 GB Notification: Performance of Templates: time 0.009728/0.3478, allocations: 4.539 MB / 0.8 GB, free: 11.71 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)