Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009805/0.009805, allocations: 168.9 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.008/2.008, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007552/0.0007554, allocations: 16.12 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3692, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001336/0.3706, allocations: 446.2 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002275/0.373, allocations: 1.298 MB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.3731, allocations: 0 / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.3731, allocations: 3.938 kB / 0.7896 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.3733, allocations: 19.84 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3744, allocations: 284.5 kB / 0.7899 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.3747, allocations: 223.6 kB / 0.7901 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3749, allocations: 20.17 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.3751, allocations: 87.8 kB / 0.7902 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3753, allocations: 67.78 kB / 0.7903 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.3754, allocations: 12 kB / 0.7903 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3755, allocations: 31.92 kB / 0.7903 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.3756, allocations: 7.984 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3757, allocations: 105.4 kB / 0.7904 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.376, allocations: 203.7 kB / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.376, allocations: 0 / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.376, allocations: 3.938 kB / 0.7906 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.3761, allocations: 4 kB / 0.7906 GB, free: 8.758 MB / 0.6075 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.0006205/0.3767, allocations: 456.4 kB / 0.7911 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.3767, allocations: 12.03 kB / 0.7911 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3769, allocations: 12.84 kB / 0.7911 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.377, allocations: 170.4 kB / 0.7912 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.3771, allocations: 16.36 kB / 0.7913 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.3771, allocations: 12.38 kB / 0.7913 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3773, allocations: 58.23 kB / 0.7913 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3773, allocations: 7.875 kB / 0.7913 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3773, allocations: 4 kB / 0.7913 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3773, allocations: 0 / 0.7913 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.134e-05/0.3774, allocations: 23.98 kB / 0.7914 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.378, allocations: 412.5 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.3781, allocations: 34.58 kB / 0.7918 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.3782, allocations: 24.88 kB / 0.7918 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.3782, allocations: 4 kB / 0.7918 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.3784, allocations: 99.25 kB / 0.7919 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.744e-06/0.3784, allocations: 0 / 0.7919 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003607/0.3788, allocations: 133.5 kB / 0.792 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.3788, allocations: 59.39 kB / 0.7921 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.379, allocations: 129.8 kB / 0.7922 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.379, allocations: 33.7 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.3791, allocations: 100 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.3791, allocations: 27.8 kB / 0.7924 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.3792, allocations: 29.66 kB / 0.7924 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3793, allocations: 322.8 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.3795, allocations: 91.94 kB / 0.7928 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3798, allocations: 130.3 kB / 0.7929 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.3801, allocations: 239 kB / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3801, allocations: 0 / 0.7931 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006716/0.3808, allocations: 389.4 kB / 0.7935 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.489e-05/0.3809, allocations: 97.03 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.381, allocations: 4 kB / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.381, allocations: 0 / 0.7936 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.963e-05/0.381, allocations: 8 kB / 0.7936 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.381, allocations: 4 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.3817, allocations: 118.9 kB / 0.7937 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.3817, allocations: 23.92 kB / 0.7938 GB, free: 5.207 MB / 0.6075 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,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.3819, allocations: 126.4 kB / 0.7939 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.3819, allocations: 7.906 kB / 0.7939 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.937e-05/0.3819, allocations: 16.36 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3819, allocations: 0 / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.382, allocations: 4 kB / 0.7939 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.382, allocations: 7.984 kB / 0.7939 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.3822, allocations: 197.5 kB / 0.7941 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3822, allocations: 3.984 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.3822, allocations: 4 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3822, allocations: 0 / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3822, allocations: 0 / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.3822, allocations: 7.938 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3822, allocations: 0 / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3824, allocations: 136.9 kB / 0.7942 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.3825, allocations: 88.95 kB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3825, allocations: 4 kB / 0.7943 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.3825, allocations: 4 kB / 0.7943 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3826, allocations: 7.984 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.3826, allocations: 4 kB / 0.7943 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.3827, allocations: 95.27 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3827, allocations: 0 / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003092/0.383, allocations: 51.89 kB / 0.7945 GB, free: 4.359 MB / 0.6075 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 (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.0001904/0.3832, allocations: 103.2 kB / 0.7946 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004794/0.3837, allocations: 369.9 kB / 0.7949 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3837, allocations: 4.094 kB / 0.7949 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.3838, allocations: 47.86 kB / 0.795 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.3841, allocations: 24.36 kB / 0.795 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.3845, allocations: 211.5 kB / 0.7952 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.3848, allocations: 0.6965 MB / 0.7959 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.3849, allocations: 8.438 kB / 0.7959 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.3849, allocations: 11.44 kB / 0.7959 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.3849, allocations: 0 / 0.7959 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.006575/0.3915, allocations: 2.494 MB / 0.7984 GB, free: 348 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1) Environment - environmentSimulation: