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.688/1.688, allocations: 288.4 MB / 303.7 MB, free: 8.133 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.001094/0.001094, allocations: 180.5 kB / 372.3 MB, free: 10.11 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.755/1.755, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.00109/0.001089, allocations: 101 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004564, allocations: 14.25 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3166, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001317/0.318, allocations: 0.5296 MB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3199, allocations: 1.45 MB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.32, allocations: 7.938 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.3202, allocations: 15.92 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.378e-05/0.3202, allocations: 27.77 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3214, allocations: 478.8 kB / 0.9826 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003408/0.3218, allocations: 375.2 kB / 0.983 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.3219, allocations: 41.47 kB / 0.983 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3221, allocations: 155.7 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3222, allocations: 127.6 kB / 0.9833 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.954e-05/0.3223, allocations: 20 kB / 0.9833 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.3224, allocations: 31.98 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.3224, allocations: 31.92 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.3226, allocations: 165.2 kB / 0.9835 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3229, allocations: 295.5 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3229, allocations: 4 kB / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3229, allocations: 0 / 0.9838 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3229, allocations: 0 / 0.9838 GB, free: 23.57 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.000606/0.3235, allocations: 0.5633 MB / 0.9843 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3236, allocations: 12.03 kB / 0.9843 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.3237, allocations: 32.66 kB / 0.9844 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.324, allocations: 260.6 kB / 0.9846 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.324, allocations: 16.38 kB / 0.9846 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.3241, allocations: 36.3 kB / 0.9847 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.3243, allocations: 152.8 kB / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3244, allocations: 192 / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.3244, allocations: 3.938 kB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3244, allocations: 4 kB / 0.9848 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3245, allocations: 79.95 kB / 0.9849 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.3254, allocations: 0.7185 MB / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3256, allocations: 175.6 kB / 0.9858 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.3257, allocations: 44.78 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3257, allocations: 8 kB / 0.9858 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000255/0.326, allocations: 147.4 kB / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.326, allocations: 0 / 0.986 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0004293/0.3264, allocations: 240.4 kB / 0.9862 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3265, allocations: 59.39 kB / 0.9863 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3266, allocations: 182.2 kB / 0.9864 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.3267, allocations: 41.7 kB / 0.9865 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.3268, allocations: 132.4 kB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3268, allocations: 43.44 kB / 0.9866 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.3268, allocations: 16 kB / 0.9866 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.327, allocations: 326.8 kB / 0.987 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3273, allocations: 151.9 kB / 0.9871 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.3276, allocations: 234.2 kB / 0.9873 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.3279, allocations: 418.7 kB / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.328, allocations: 0 / 0.9877 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008268/0.3288, allocations: 0.6148 MB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.3289, allocations: 160.5 kB / 0.9885 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3289, allocations: 11.92 kB / 0.9885 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/0.3289, allocations: 4 kB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.797e-05/0.329, allocations: 8 kB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.329, allocations: 12.33 kB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008631/0.3299, allocations: 209.3 kB / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.33, allocations: 31.98 kB / 0.9887 GB, free: 18.04 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.0001767/0.3301, allocations: 153.5 kB / 0.9889 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.3302, allocations: 23.8 kB / 0.9889 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.3302, allocations: 21.81 kB / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3302, allocations: 0 / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3302, allocations: 0 / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3302, allocations: 0 / 0.9889 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.3307, allocations: 0.5061 MB / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3307, allocations: 0 / 0.9894 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.3307, allocations: 4 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3307, allocations: 3.938 kB / 0.9894 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3307, allocations: 15.98 kB / 0.9895 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3307, allocations: 0 / 0.9895 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3308, allocations: 3.984 kB / 0.9895 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.331, allocations: 284.5 kB / 0.9897 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.331, allocations: 92.95 kB / 0.9898 GB, free: 16.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.331, allocations: 11.92 kB / 0.9898 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.3311, allocations: 4 kB / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.3312, allocations: 19.97 kB / 0.9899 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3312, allocations: 12 kB / 0.9899 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.319e-05/0.3312, allocations: 116.2 kB / 0.99 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3312, allocations: 0 / 0.99 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003083/0.3316, allocations: 87.89 kB / 0.9901 GB, free: 16.6 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.0001826/0.3318, allocations: 107.2 kB / 0.9902 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005871/0.3323, allocations: 0.6181 MB / 0.9908 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3324, allocations: 0 / 0.9908 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.805e-05/0.3325, allocations: 86.3 kB / 0.9908 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3329, allocations: 43.89 kB / 0.9909 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.3334, allocations: 357.3 kB / 0.9912 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3337, allocations: 0.7245 MB / 0.9919 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.673e-05/0.3337, allocations: 21.55 kB / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.3338, allocations: 19.44 kB / 0.992 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.3338, allocations: 4 kB / 0.992 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.006781/0.3406, allocations: 4.239 MB / 0.9961 GB, free: 10.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)