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.MultiOr.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.MultiOr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.665/1.665, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001043/0.001044, allocations: 182.4 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 0.6306 GB, free: 10.04 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.0008181/0.0008179, allocations: 94.91 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006725/0.0006727, allocations: 16.94 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3035, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00112/0.3047, allocations: 0.5412 MB / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002211/0.307, allocations: 1.376 MB / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.3072, allocations: 0 / 0.9813 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.3073, allocations: 11.92 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3075, allocations: 39.86 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.309, allocations: 471.7 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.3095, allocations: 239.6 kB / 0.982 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.3097, allocations: 29.48 kB / 0.9821 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.3101, allocations: 159.7 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.3105, allocations: 131.6 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.3106, allocations: 20 kB / 0.9824 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.3108, allocations: 31.98 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.3108, allocations: 31.91 kB / 0.9824 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.311, allocations: 69.64 kB / 0.9825 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003811/0.3114, allocations: 287.5 kB / 0.9828 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3114, allocations: 3.938 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3114, allocations: 0 / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.3114, allocations: 0 / 0.9828 GB, free: 24.27 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009043/0.3123, allocations: 0.5696 MB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.3124, allocations: 8.031 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.3126, allocations: 31.72 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.313, allocations: 259.3 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.3131, allocations: 19.98 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.3132, allocations: 32 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.3134, allocations: 153 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3134, allocations: 0 / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.3135, allocations: 4 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.3135, allocations: 4 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3136, allocations: 79.94 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008812/0.3145, allocations: 0.7186 MB / 0.9846 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.3147, allocations: 171.5 kB / 0.9847 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.3147, allocations: 8 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.315, allocations: 160 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.674e-06/0.315, allocations: 3.938 kB / 0.9849 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0004328/0.3155, allocations: 235.5 kB / 0.9851 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3155, allocations: 59.48 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3157, allocations: 182.2 kB / 0.9854 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.3157, allocations: 45.7 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.3158, allocations: 120.5 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3159, allocations: 43.44 kB / 0.9856 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.3159, allocations: 12 kB / 0.9856 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.316, allocations: 334.8 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.3163, allocations: 151.9 kB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.3166, allocations: 238.1 kB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.3169, allocations: 296.5 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3169, allocations: 4 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000828/0.3177, allocations: 0.6031 MB / 0.9871 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.737e-05/0.3178, allocations: 164.5 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3178, allocations: 8.344 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.3179, allocations: 4 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/0.3179, allocations: 7.938 kB / 0.9873 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3179, allocations: 11.98 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008766/0.3188, allocations: 201.5 kB / 0.9875 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.3189, allocations: 31.98 kB / 0.9876 GB, free: 18.96 MB / 0.6198 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.3191, allocations: 165.5 kB / 0.9877 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.3191, allocations: 23.73 kB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.3192, allocations: 17.88 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3192, allocations: 4 kB / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3192, allocations: 0 / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3192, allocations: 0 / 0.9878 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.3197, allocations: 0.5084 MB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3197, allocations: 0 / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.3198, allocations: 7.938 kB / 0.9883 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3198, allocations: 7.984 kB / 0.9883 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3198, allocations: 4 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3198, allocations: 3.938 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3198, allocations: 7.984 kB / 0.9883 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.3201, allocations: 271.2 kB / 0.9885 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.3201, allocations: 92.86 kB / 0.9886 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.3202, allocations: 15.98 kB / 0.9886 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.096e-05/0.3202, allocations: 0 / 0.9886 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.3203, allocations: 23.97 kB / 0.9887 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3203, allocations: 8 kB / 0.9887 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.3204, allocations: 116.2 kB / 0.9888 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.142e-06/0.3204, allocations: 0 / 0.9888 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003621/0.3208, allocations: 87.83 kB / 0.9889 GB, free: 17.52 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: 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 (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.0002057/0.321, allocations: 111.2 kB / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006306/0.3216, allocations: 0.6165 MB / 0.9896 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3217, allocations: 3.938 kB / 0.9896 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.854e-05/0.3218, allocations: 79.91 kB / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3221, allocations: 36.66 kB / 0.9897 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.3227, allocations: 364.8 kB / 0.99 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.3229, allocations: 0.7322 MB / 0.9908 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.675e-05/0.323, allocations: 25.55 kB / 0.9908 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.323, allocations: 15.44 kB / 0.9908 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.323, allocations: 0 / 0.9908 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.008006/0.331, allocations: 4.15 MB / 0.9949 GB, free: 11.34 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1)