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.001769/0.001769, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 189.6 kB / 16.62 MB, free: 6.582 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.817/1.817, allocations: 205.1 MB / 222.5 MB, free: 4.527 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 1.9/1.9, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001645/0.001645, allocations: 73.77 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2694, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002902/0.2724, allocations: 0.7164 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.2747, allocations: 1.265 MB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2748, allocations: 0 / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.348e-05/0.275, allocations: 3.938 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.2751, allocations: 19.84 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.2762, allocations: 304.8 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.2767, allocations: 279.6 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.2769, allocations: 12.19 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.2771, allocations: 111.7 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.2774, allocations: 91.73 kB / 0.7869 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.2775, allocations: 24 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.2776, allocations: 35.98 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.2776, allocations: 11.98 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.2778, allocations: 87.73 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.2783, allocations: 223.3 kB / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2783, allocations: 0 / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2783, allocations: 0 / 0.7872 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.2783, allocations: 0 / 0.7872 GB, free: 9.547 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.0009404/0.2792, allocations: 496.3 kB / 0.7877 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2793, allocations: 16.02 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/0.2794, allocations: 12.84 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.2796, allocations: 168.3 kB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.2796, allocations: 8.375 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.2797, allocations: 16.38 kB / 0.7879 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.2798, allocations: 58.22 kB / 0.788 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2799, allocations: 3.938 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2799, allocations: 4 kB / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2799, allocations: 0 / 0.788 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.28, allocations: 27.92 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007034/0.2807, allocations: 416.4 kB / 0.7884 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.97e-05/0.2808, allocations: 30.56 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.2808, allocations: 20.86 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.2808, allocations: 3.984 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.2811, allocations: 103.4 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 2.425e-06/0.2811, allocations: 0 / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000372/0.2815, allocations: 141.4 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.2816, allocations: 55.41 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2817, allocations: 133.7 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.2818, allocations: 37.64 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.2819, allocations: 97.19 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.2819, allocations: 27.72 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.2821, allocations: 69.67 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.2823, allocations: 326.8 kB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2825, allocations: 83.95 kB / 0.7895 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.2827, allocations: 141.9 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.283, allocations: 235 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.283, allocations: 0 / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007369/0.2838, allocations: 381.2 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.759e-05/0.2839, allocations: 101.1 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2839, allocations: 0 / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.2839, allocations: 8 kB / 0.7903 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.75e-05/0.284, allocations: 4 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.284, allocations: 0 / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.2845, allocations: 83.94 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.2845, allocations: 15.98 kB / 0.7904 GB, free: 5.953 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.0001638/0.2847, allocations: 141.4 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2847, allocations: 7.906 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/0.2848, allocations: 12.38 kB / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2848, allocations: 0 / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2848, allocations: 0 / 0.7906 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2848, allocations: 4 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.285, allocations: 197.5 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.285, allocations: 4 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.043e-05/0.285, allocations: 0 / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2851, allocations: 0 / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2851, allocations: 8 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2851, allocations: 0 / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2851, allocations: 4.062 kB / 0.7908 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.2853, allocations: 141.2 kB / 0.7909 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.2854, allocations: 85.02 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.2854, allocations: 7.984 kB / 0.791 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.51e-05/0.2855, allocations: 4 kB / 0.791 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.2855, allocations: 4 kB / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.2855, allocations: 15.92 kB / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.92e-05/0.2856, allocations: 102.3 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2856, allocations: 0 / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003128/0.286, allocations: 40 kB / 0.7911 GB, free: 5.102 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.0002213/0.2862, allocations: 114 kB / 0.7913 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.2867, allocations: 362 kB / 0.7916 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2867, allocations: 3.938 kB / 0.7916 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.2868, allocations: 39.98 kB / 0.7916 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2871, allocations: 27 kB / 0.7917 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.2876, allocations: 202.8 kB / 0.7919 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.2879, allocations: 0.6924 MB / 0.7925 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.288, allocations: 4.438 kB / 0.7925 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.288, allocations: 11.44 kB / 0.7925 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.288, allocations: 0 / 0.7925 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.006879/0.2949, allocations: 2.623 MB / 0.7951 GB, free: 0.9727 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (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)