Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00121/0.001211, allocations: 194.5 kB / 16.14 MB, free: 6.656 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.588/1.588, allocations: 205.1 MB / 222 MB, free: 4.711 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.709/1.709, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001443/0.001443, allocations: 67.59 kB / 0.6708 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3136, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002258/0.3159, allocations: 0.8913 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.3177, allocations: 1.54 MB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.3178, allocations: 7.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.3179, allocations: 7.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.318, allocations: 27.77 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3191, allocations: 499.1 kB / 0.7856 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/0.3195, allocations: 419.2 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3196, allocations: 37.47 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.3198, allocations: 163.7 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.3199, allocations: 139.5 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.32, allocations: 24 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3201, allocations: 39.92 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.589e-05/0.3202, allocations: 35.91 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.3204, allocations: 151.4 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.3207, allocations: 391.2 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3208, allocations: 0 / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3208, allocations: 3.938 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.3208, allocations: 0 / 0.7869 GB, free: 9.664 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.0009036/0.3217, allocations: 0.6438 MB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3217, allocations: 12.03 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3218, allocations: 28.75 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3222, allocations: 256 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.3222, allocations: 24.36 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.3223, allocations: 36.38 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.3226, allocations: 151.8 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3226, allocations: 192 / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.3226, allocations: 7.938 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3226, allocations: 4 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3228, allocations: 83.89 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008317/0.3236, allocations: 0.7109 MB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3238, allocations: 167.6 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.3239, allocations: 48.84 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3239, allocations: 0 / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.3242, allocations: 163.3 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.3242, allocations: 0 / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.0004462/0.3247, allocations: 236.1 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.3247, allocations: 71.33 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3249, allocations: 183.2 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.3249, allocations: 37.7 kB / 0.7897 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3251, allocations: 124.5 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3251, allocations: 43.44 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.3253, allocations: 113.6 kB / 0.79 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3254, allocations: 330.8 kB / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3257, allocations: 163.8 kB / 0.7904 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.3261, allocations: 238.2 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.3265, allocations: 410.6 kB / 0.7911 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3265, allocations: 0 / 0.7911 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009119/0.3274, allocations: 0.6164 MB / 0.7917 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.714e-05/0.3275, allocations: 160.5 kB / 0.7918 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3276, allocations: 7.938 kB / 0.7918 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3276, allocations: 4.344 kB / 0.7918 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.3276, allocations: 23.92 kB / 0.7918 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3276, allocations: 7.984 kB / 0.7918 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/0.3284, allocations: 147.6 kB / 0.792 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.3285, allocations: 31.97 kB / 0.792 GB, free: 4 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,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.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.0001757/0.3287, allocations: 155.1 kB / 0.7922 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.3287, allocations: 15.81 kB / 0.7922 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.3288, allocations: 17.81 kB / 0.7922 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3288, allocations: 4 kB / 0.7922 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3288, allocations: 3.984 kB / 0.7922 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3288, allocations: 7.984 kB / 0.7922 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.3293, allocations: 0.506 MB / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3294, allocations: 0 / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.3294, allocations: 4 kB / 0.7927 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3294, allocations: 4.047 kB / 0.7927 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3294, allocations: 12 kB / 0.7927 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3294, allocations: 0 / 0.7927 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3294, allocations: 0 / 0.7927 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.3297, allocations: 293.7 kB / 0.793 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3298, allocations: 92.86 kB / 0.7931 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.3298, allocations: 4 kB / 0.7931 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.3299, allocations: 4 kB / 0.7931 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.3299, allocations: 19.97 kB / 0.7931 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.33, allocations: 15.98 kB / 0.7931 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.33, allocations: 115.2 kB / 0.7932 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.292e-06/0.3301, allocations: 0 / 0.7932 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003572/0.3304, allocations: 87.84 kB / 0.7933 GB, free: 2.555 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 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.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.0002082/0.3306, allocations: 116.4 kB / 0.7934 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007534/0.3314, allocations: 0.6101 MB / 0.794 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3314, allocations: 0 / 0.794 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3315, allocations: 76.59 kB / 0.7941 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.3319, allocations: 55.83 kB / 0.7942 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005796/0.3325, allocations: 362 kB / 0.7945 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.3328, allocations: 0.7284 MB / 0.7952 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.277e-05/0.3329, allocations: 21.55 kB / 0.7952 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.3329, allocations: 19.44 kB / 0.7953 GB, free: 476 kB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3329, allocations: 0 / 0.7953 GB, free: 476 kB / 0.6075 GB Notification: Performance of Templates: time 0.007821/0.3408, allocations: 4.333 MB / 0.7995 GB, free: 12.18 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1)