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.LogicalSwitch.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.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.4 MB / 303.7 MB, free: 8.098 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.001109/0.001109, allocations: 185.8 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.716/1.716, allocations: 205.4 MB / 0.631 GB, free: 9.777 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.0009908/0.0009909, allocations: 94.3 kB / 0.7444 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004602, allocations: 16.62 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3137, 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.LogicalSwitch): time 0.001051/0.3149, allocations: 434.5 kB / 0.9806 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.3163, allocations: 1.243 MB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.3163, allocations: 0 / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.3164, allocations: 3.938 kB / 0.9818 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.3165, allocations: 15.86 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.3172, allocations: 273.7 kB / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.3174, allocations: 203.6 kB / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3175, allocations: 12.19 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.3176, allocations: 87.78 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3177, allocations: 67.83 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.3178, allocations: 12 kB / 0.9824 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.3178, allocations: 27.94 kB / 0.9825 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.3179, allocations: 11.98 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.318, allocations: 101.5 kB / 0.9826 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.3182, allocations: 155.8 kB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3182, allocations: 0 / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3182, allocations: 0 / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3182, allocations: 0 / 0.9827 GB, free: 24.66 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.000474/0.3187, allocations: 460.4 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.3187, allocations: 8.031 kB / 0.9832 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.3188, allocations: 16.84 kB / 0.9832 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.082e-05/0.3189, allocations: 172.2 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.3189, allocations: 20.36 kB / 0.9834 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.319, allocations: 12.38 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3191, allocations: 54.23 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3191, allocations: 3.938 kB / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3191, allocations: 0 / 0.9834 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3191, allocations: 4 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.3192, allocations: 15.98 kB / 0.9834 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.3197, allocations: 428.4 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.243e-05/0.3198, allocations: 34.56 kB / 0.9839 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.3198, allocations: 24.94 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3198, allocations: 0 / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.32, allocations: 107.1 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.3201, allocations: 0 / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002674/0.3203, allocations: 137.5 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.3204, allocations: 59.39 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.858e-05/0.3205, allocations: 129.8 kB / 0.9843 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3205, allocations: 29.7 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.3206, allocations: 100 kB / 0.9844 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.3206, allocations: 27.8 kB / 0.9845 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.3206, allocations: 4 kB / 0.9845 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.3207, allocations: 322.8 kB / 0.9848 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3208, allocations: 91.94 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.321, allocations: 134 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3213, allocations: 236.5 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3213, allocations: 0 / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004755/0.3218, allocations: 370.5 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.3218, allocations: 98.66 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3218, allocations: 4 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3219, allocations: 4.188 kB / 0.9857 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.688e-05/0.3219, allocations: 7.938 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.088e-06/0.3219, allocations: 4 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.3224, allocations: 118.9 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.3225, allocations: 19.98 kB / 0.9858 GB, free: 21.14 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,$PRE.booPul3.y,booPul3.y,logicalSwitch.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 0.0001041/0.3226, allocations: 133.7 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.3226, allocations: 11.89 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.3227, allocations: 12.36 kB / 0.986 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3227, allocations: 4 kB / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3227, allocations: 0 / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3227, allocations: 0 / 0.986 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.3228, allocations: 197.5 kB / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3228, allocations: 0 / 0.9862 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/0.3228, allocations: 12 kB / 0.9862 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3228, allocations: 4.375 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.3229, allocations: 3.938 kB / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3229, allocations: 0 / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3229, allocations: 0 / 0.9862 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.323, allocations: 148.8 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.191e-05/0.3231, allocations: 85.02 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3231, allocations: 4 kB / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.3231, allocations: 0 / 0.9864 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.3232, allocations: 11.98 kB / 0.9864 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.3232, allocations: 11.98 kB / 0.9864 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.3232, allocations: 95.27 kB / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.3232, allocations: 0 / 0.9865 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002308/0.3235, allocations: 47.91 kB / 0.9866 GB, free: 20.28 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,booPul3.y,logicalSwitch.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.0001657/0.3236, allocations: 108.2 kB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.324, allocations: 366.3 kB / 0.987 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.324, allocations: 4.125 kB / 0.987 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.944e-05/0.3241, allocations: 43.92 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.3244, allocations: 27.91 kB / 0.9871 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.3248, allocations: 195.5 kB / 0.9873 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.325, allocations: 0.6926 MB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.315e-05/0.325, allocations: 8.438 kB / 0.988 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.3251, allocations: 19.42 kB / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.3251, allocations: 0 / 0.988 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.00463/0.3297, allocations: 2.442 MB / 0.9904 GB, free: 16.32 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)