Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.314/1.314, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 185.2 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 0.5785 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008601/0.00086, allocations: 96.52 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 16.88 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1751, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.3215, allocations: 131.5 MB / 1.03 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.3217, allocations: 75.95 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002179/0.3239, allocations: 0.9044 MB / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3239, allocations: 0 / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3239, allocations: 0 / 1.031 GB, free: 11.05 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004084/0.3244, allocations: 371.3 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3244, allocations: 8.031 kB / 1.031 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3244, allocations: 12.92 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3246, allocations: 172.3 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.3246, allocations: 384 / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3246, allocations: 4.375 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.3247, allocations: 54.22 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3247, allocations: 4.188 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3247, allocations: 3.938 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3247, allocations: 0 / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.342e-05/0.3248, allocations: 23.94 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.3253, allocations: 300.9 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.647e-05/0.3254, allocations: 46.5 kB / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.3254, allocations: 20.98 kB / 1.032 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.3254, allocations: 3.938 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3256, allocations: 75.31 kB / 1.032 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3256, allocations: 0 / 1.032 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0001899/0.3258, allocations: 89.66 kB / 1.032 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3258, allocations: 51.41 kB / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.3259, allocations: 113.8 kB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3259, allocations: 33.7 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.326, allocations: 95.97 kB / 1.032 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.326, allocations: 11.91 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.326, allocations: 0 / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.3261, allocations: 318.8 kB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.3262, allocations: 12 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.3262, allocations: 34.56 kB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.747e-05/0.3263, allocations: 51.08 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3263, allocations: 4 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001079/0.3264, allocations: 81.52 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3264, allocations: 4 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3264, allocations: 0 / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3264, allocations: 4 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.3265, allocations: 8 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.3265, allocations: 12.11 kB / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.3266, allocations: 15.92 kB / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3266, allocations: 8 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 7.821e-05/0.3267, allocations: 125.7 kB / 1.033 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.3267, allocations: 7.906 kB / 1.033 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.3268, allocations: 8.375 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3268, allocations: 0 / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3268, allocations: 8 kB / 1.033 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3268, allocations: 3.984 kB / 1.033 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3269, allocations: 173.6 kB / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3269, allocations: 0 / 1.033 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.3269, allocations: 4 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.327, allocations: 0 / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.327, allocations: 0 / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.327, allocations: 0 / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.327, allocations: 0 / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.3271, allocations: 109.2 kB / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.3272, allocations: 85.02 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3272, allocations: 3.938 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.3273, allocations: 15.98 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3273, allocations: 11.92 kB / 1.033 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3273, allocations: 3.984 kB / 1.033 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.365e-05/0.3274, allocations: 91.28 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3274, allocations: 4 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001847/0.3276, allocations: 12 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001016/0.3277, allocations: 99.23 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.3278, allocations: 47.92 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.3278, allocations: 0 / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.3278, allocations: 16 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3281, allocations: 24.05 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.3284, allocations: 166.5 kB / 1.034 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3286, allocations: 0.6907 MB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.3286, allocations: 7.859 kB / 1.034 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.3287, allocations: 11.44 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/0.3287, allocations: 4 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.002541/0.3312, allocations: 0.7512 MB / 1.035 GB, free: 6.188 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)