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.And3.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.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.784/1.784, allocations: 288.4 MB / 303.7 MB, free: 8.148 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.001201/0.001201, allocations: 174.5 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0008723/0.0008718, allocations: 86.92 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004347/0.0004347, allocations: 16.47 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.000919/0.2528, allocations: 434.5 kB / 0.9806 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2541, allocations: 1.239 MB / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.2542, allocations: 0 / 0.9818 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.2542, allocations: 3.938 kB / 0.9818 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.845e-05/0.2543, allocations: 19.84 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006601/0.255, allocations: 272.8 kB / 0.9821 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.2551, allocations: 203.5 kB / 0.9822 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.2552, allocations: 20.17 kB / 0.9823 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/0.2553, allocations: 87.86 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.647e-05/0.2554, allocations: 67.78 kB / 0.9824 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.2555, allocations: 12 kB / 0.9824 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.2556, allocations: 23.98 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.2556, allocations: 15.97 kB / 0.9825 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.2557, allocations: 101.5 kB / 0.9826 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2558, allocations: 147.9 kB / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2558, allocations: 0 / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.367e-06/0.2558, allocations: 0 / 0.9827 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2559, allocations: 3.938 kB / 0.9827 GB, free: 24.7 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003872/0.2563, allocations: 460.4 kB / 0.9831 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2563, allocations: 12.03 kB / 0.9832 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.2564, allocations: 20.77 kB / 0.9832 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.2565, allocations: 168.3 kB / 0.9833 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.2565, allocations: 8.375 kB / 0.9833 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.2565, allocations: 16.38 kB / 0.9834 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2566, allocations: 54.22 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2567, allocations: 7.938 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2567, allocations: 8 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2567, allocations: 7.922 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.2567, allocations: 19.94 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.2572, allocations: 416.5 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.2572, allocations: 30.56 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.2573, allocations: 24.86 kB / 0.9839 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2573, allocations: 8 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.2575, allocations: 99.28 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.2575, allocations: 0 / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002437/0.2577, allocations: 137.5 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2578, allocations: 55.41 kB / 0.9842 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.707e-05/0.2579, allocations: 127.5 kB / 0.9843 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2579, allocations: 37.7 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.2579, allocations: 100 kB / 0.9844 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.258, allocations: 23.81 kB / 0.9845 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.258, allocations: 8 kB / 0.9845 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.727e-05/0.2581, allocations: 326.8 kB / 0.9848 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2582, allocations: 83.95 kB / 0.9849 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2584, allocations: 143.3 kB / 0.985 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.2586, allocations: 234.5 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2586, allocations: 4 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004557/0.2591, allocations: 366.4 kB / 0.9856 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.2591, allocations: 101.5 kB / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2591, allocations: 0 / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2592, allocations: 4 kB / 0.9857 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/0.2592, allocations: 8 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2592, allocations: 3.938 kB / 0.9857 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.2597, allocations: 116.7 kB / 0.9858 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.2597, allocations: 23.98 kB / 0.9858 GB, free: 21.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y,$PRE.booPul3.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.995e-05/0.2598, allocations: 135.1 kB / 0.986 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.2599, allocations: 7.906 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.2599, allocations: 8.375 kB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2599, allocations: 7.984 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2599, allocations: 0 / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2599, allocations: 4 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.26, allocations: 197.5 kB / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.26, allocations: 0 / 0.9862 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-06/0.2601, allocations: 7.922 kB / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2601, allocations: 0 / 0.9862 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2601, allocations: 4 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2601, allocations: 4 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2601, allocations: 0 / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.2602, allocations: 144.9 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.2603, allocations: 85.02 kB / 0.9864 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2603, allocations: 4 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.2603, allocations: 4 kB / 0.9864 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.2604, allocations: 7.984 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.2604, allocations: 8 kB / 0.9864 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.2604, allocations: 92.25 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.293e-06/0.2604, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002304/0.2607, allocations: 59.83 kB / 0.9866 GB, free: 20.32 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001383/0.2608, allocations: 103.2 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003543/0.2612, allocations: 366 kB / 0.987 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2612, allocations: 4 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.871e-05/0.2612, allocations: 36.02 kB / 0.9871 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.2615, allocations: 30.59 kB / 0.9871 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.2618, allocations: 203.5 kB / 0.9873 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.2619, allocations: 0.7004 MB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.262, allocations: 4.438 kB / 0.988 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.262, allocations: 15.44 kB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.262, allocations: 0 / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.004386/0.2664, allocations: 2.438 MB / 0.9904 GB, free: 16.37 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1)