Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001798/0.001798, allocations: 200.4 kB / 376.9 MB, free: 1.797 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.069/2.069, allocations: 205.1 MB / 0.6354 GB, free: 9.793 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.00115/0.00115, allocations: 100.9 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 56.16 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2912, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00253/0.2938, allocations: 0.8446 MB / 0.983 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2955, allocations: 1.145 MB / 0.9842 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.2956, allocations: 4 kB / 0.9842 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.2957, allocations: 3.938 kB / 0.9842 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/0.2958, allocations: 7.875 kB / 0.9842 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005342/0.2963, allocations: 123.8 kB / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2965, allocations: 115.8 kB / 0.9844 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.2966, allocations: 19.97 kB / 0.9844 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.2967, allocations: 43.91 kB / 0.9845 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.2968, allocations: 47.81 kB / 0.9845 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.2969, allocations: 4 kB / 0.9845 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.966e-05/0.297, allocations: 20 kB / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.775e-05/0.297, allocations: 15.91 kB / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.2971, allocations: 39.84 kB / 0.9846 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2973, allocations: 119.9 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2973, allocations: 0 / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.006e-06/0.2973, allocations: 0 / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.2973, allocations: 3.938 kB / 0.9847 GB, free: 7.809 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000737/0.2981, allocations: 424.9 kB / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2981, allocations: 8.031 kB / 0.9851 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.262e-05/0.2982, allocations: 12.84 kB / 0.9851 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2983, allocations: 176.2 kB / 0.9853 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2983, allocations: 384 / 0.9853 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.2984, allocations: 8.375 kB / 0.9853 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.2987, allocations: 82.19 kB / 0.9854 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2987, allocations: 192 / 0.9854 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2987, allocations: 3.938 kB / 0.9854 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.2987, allocations: 4 kB / 0.9854 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.299, allocations: 71.86 kB / 0.9855 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.2995, allocations: 332.6 kB / 0.9858 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.2997, allocations: 58.53 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.2999, allocations: 36.92 kB / 0.9859 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.2999, allocations: 0 / 0.9859 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.3003, allocations: 99.28 kB / 0.986 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3003, allocations: 0 / 0.986 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005888/0.3009, allocations: 165.5 kB / 0.9861 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3009, allocations: 55.34 kB / 0.9862 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.301, allocations: 122.1 kB / 0.9863 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3011, allocations: 29.7 kB / 0.9863 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.3011, allocations: 96.14 kB / 0.9864 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.3012, allocations: 15.73 kB / 0.9864 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-05/0.3012, allocations: 37.7 kB / 0.9865 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3014, allocations: 318.8 kB / 0.9868 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.3016, allocations: 63.88 kB / 0.9868 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.3018, allocations: 90.58 kB / 0.9869 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.3022, allocations: 136.1 kB / 0.9871 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3022, allocations: 0 / 0.9871 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005509/0.3027, allocations: 215.1 kB / 0.9873 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.3028, allocations: 37.7 kB / 0.9873 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3028, allocations: 3.938 kB / 0.9873 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3028, allocations: 7.984 kB / 0.9873 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.303, allocations: 11.98 kB / 0.9873 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.303, allocations: 8.062 kB / 0.9873 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.3033, allocations: 36.02 kB / 0.9874 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.3033, allocations: 12.3 kB / 0.9874 GB, free: 4.816 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001266/0.3034, allocations: 121.8 kB / 0.9875 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.3034, allocations: 7.906 kB / 0.9875 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.3035, allocations: 8.375 kB / 0.9875 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3035, allocations: 4 kB / 0.9875 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.3035, allocations: 11.98 kB / 0.9875 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3035, allocations: 0 / 0.9875 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.3037, allocations: 185.6 kB / 0.9877 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3037, allocations: 0 / 0.9877 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.3038, allocations: 19.92 kB / 0.9877 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3038, allocations: 0 / 0.9877 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3039, allocations: 0 / 0.9877 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3039, allocations: 0 / 0.9877 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3039, allocations: 0 / 0.9877 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.3048, allocations: 0.7526 MB / 0.9884 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.3048, allocations: 77.11 kB / 0.9885 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3049, allocations: 4 kB / 0.9885 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.3049, allocations: 11.98 kB / 0.9885 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.305, allocations: 16.02 kB / 0.9885 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.305, allocations: 7.938 kB / 0.9886 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.945e-05/0.3051, allocations: 91.27 kB / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.3051, allocations: 0 / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003307/0.3054, allocations: 27.91 kB / 0.9887 GB, free: 3.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002395/0.3057, allocations: 107.2 kB / 0.9888 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005161/0.3062, allocations: 195.2 kB / 0.989 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3062, allocations: 0 / 0.989 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.3064, allocations: 47.91 kB / 0.989 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3067, allocations: 16.09 kB / 0.989 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.3072, allocations: 286.8 kB / 0.9893 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3075, allocations: 0.6887 MB / 0.99 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.3075, allocations: 8 kB / 0.99 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.3075, allocations: 11.44 kB / 0.99 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.3076, allocations: 0 / 0.99 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.004271/0.3118, allocations: 1.447 MB / 0.9914 GB, free: 492 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)