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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.3 MB / 308.1 MB, free: 4.219 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.001263/0.001263, allocations: 192.5 kB / 376.9 MB, free: 1.758 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.774/1.774, allocations: 205 MB / 0.6353 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 100.6 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 55.92 kB / 0.8704 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3626, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002453/0.3651, allocations: 0.9069 MB / 0.9831 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.3673, allocations: 1.535 MB / 0.9846 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.3674, allocations: 11.88 kB / 0.9846 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.3675, allocations: 11.86 kB / 0.9846 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.3676, allocations: 23.84 kB / 0.9847 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3689, allocations: 491.2 kB / 0.9851 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.3693, allocations: 423.2 kB / 0.9855 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.3695, allocations: 37.48 kB / 0.9856 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.3697, allocations: 159.7 kB / 0.9857 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.3699, allocations: 135.6 kB / 0.9859 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.052e-05/0.37, allocations: 27.94 kB / 0.9859 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3702, allocations: 36 kB / 0.9859 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.3702, allocations: 43.83 kB / 0.986 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.3704, allocations: 147.5 kB / 0.9861 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.3709, allocations: 391.2 kB / 0.9865 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3709, allocations: 0 / 0.9865 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3709, allocations: 0 / 0.9865 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3709, allocations: 0 / 0.9865 GB, free: 5.965 MB / 0.7136 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.0009392/0.3719, allocations: 0.6516 MB / 0.9871 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3719, allocations: 8.031 kB / 0.9871 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.372, allocations: 28.75 kB / 0.9871 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.3724, allocations: 264 kB / 0.9874 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3724, allocations: 20.38 kB / 0.9874 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.3725, allocations: 32.36 kB / 0.9874 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003286/0.3728, allocations: 151.9 kB / 0.9876 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3729, allocations: 4.188 kB / 0.9876 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3729, allocations: 7.875 kB / 0.9876 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3729, allocations: 7.938 kB / 0.9876 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3731, allocations: 87.75 kB / 0.9877 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000926/0.374, allocations: 0.7031 MB / 0.9884 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.3742, allocations: 175.7 kB / 0.9885 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.3743, allocations: 44.83 kB / 0.9886 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3743, allocations: 8.125 kB / 0.9886 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.3746, allocations: 155.3 kB / 0.9887 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.3746, allocations: 0 / 0.9887 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0004634/0.3751, allocations: 247.5 kB / 0.989 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.3752, allocations: 63.39 kB / 0.989 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3753, allocations: 178.2 kB / 0.9892 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.3754, allocations: 41.7 kB / 0.9892 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3755, allocations: 128.5 kB / 0.9894 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.3756, allocations: 39.45 kB / 0.9894 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.3758, allocations: 113.6 kB / 0.9895 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3759, allocations: 326.8 kB / 0.9898 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.3762, allocations: 159.9 kB / 0.99 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.3766, allocations: 238.2 kB / 0.9902 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/0.3771, allocations: 418.7 kB / 0.9906 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3771, allocations: 0 / 0.9906 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001013/0.3782, allocations: 0.6108 MB / 0.9912 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.3783, allocations: 166.5 kB / 0.9914 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3783, allocations: 8.281 kB / 0.9914 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.3784, allocations: 8 kB / 0.9914 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.961e-05/0.3784, allocations: 11.92 kB / 0.9914 GB, free: 484 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3784, allocations: 4 kB / 0.9914 GB, free: 480 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007967/0.3792, allocations: 147.5 kB / 0.9915 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.3793, allocations: 35.97 kB / 0.9916 GB, free: 296 kB / 0.7136 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.0001876/0.3795, allocations: 159.2 kB / 0.9917 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3795, allocations: 19.75 kB / 0.9917 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.602e-05/0.3796, allocations: 21.81 kB / 0.9918 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3796, allocations: 0 / 0.9918 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3796, allocations: 11.94 kB / 0.9918 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3796, allocations: 3.984 kB / 0.9918 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.3802, allocations: 0.5022 MB / 0.9923 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3803, allocations: 0 / 0.9923 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.3803, allocations: 0 / 0.9923 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.3803, allocations: 4 kB / 0.9923 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3803, allocations: 3.984 kB / 0.9923 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3803, allocations: 4 kB / 0.9923 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3803, allocations: 3.938 kB / 0.9923 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.3811, allocations: 0.9012 MB / 0.9932 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.3811, allocations: 92.86 kB / 0.9932 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.3812, allocations: 4 kB / 0.9933 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.3812, allocations: 4 kB / 0.9933 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.3813, allocations: 23.97 kB / 0.9933 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3813, allocations: 15.92 kB / 0.9933 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.78e-05/0.3814, allocations: 119.2 kB / 0.9934 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3814, allocations: 0 / 0.9934 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004347/0.3819, allocations: 83.91 kB / 0.9935 GB, free: 14.18 MB / 0.7292 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.0001924/0.3821, allocations: 113.3 kB / 0.9936 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007803/0.3829, allocations: 0.6122 MB / 0.9942 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3829, allocations: 4.188 kB / 0.9942 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.383, allocations: 75.91 kB / 0.9943 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3834, allocations: 43.95 kB / 0.9943 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.3841, allocations: 0.5202 MB / 0.9948 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.3845, allocations: 0.7323 MB / 0.9955 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.771e-05/0.3846, allocations: 25.53 kB / 0.9956 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.3847, allocations: 19.44 kB / 0.9956 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.3847, allocations: 4 kB / 0.9956 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.008153/0.3928, allocations: 4.51 MB / 1 GB, free: 7.445 MB / 0.7292 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)