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.001186/0.001186, allocations: 115.3 kB / 16.37 MB, free: 6 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.00114/0.00114, allocations: 188.1 kB / 17.3 MB, free: 5.617 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.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.865/1.865, allocations: 292.3 MB / 0.5496 GB, free: 17.54 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.001447/0.001447, allocations: 67.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.001984/0.2377, allocations: 0.7212 MB / 0.7855 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2392, allocations: 1.25 MB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.2392, allocations: 8 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.2393, allocations: 7.922 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.2394, allocations: 15.8 kB / 0.7868 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.2401, allocations: 319.2 kB / 0.7871 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.2404, allocations: 275.5 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.2405, allocations: 16.17 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.2406, allocations: 99.86 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.2408, allocations: 91.73 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.2408, allocations: 28 kB / 0.7876 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.2409, allocations: 39.92 kB / 0.7876 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.2409, allocations: 11.94 kB / 0.7876 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.2411, allocations: 83.8 kB / 0.7877 GB, free: 244 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.2413, allocations: 215.4 kB / 0.7879 GB, free: 28 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2413, allocations: 4 kB / 0.7879 GB, free: 24 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2413, allocations: 0 / 0.7879 GB, free: 24 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2413, allocations: 4 kB / 0.7879 GB, free: 20 kB / 0.6544 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.4314/0.6728, allocations: 490 kB / 0.7884 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6728, allocations: 9.156 kB / 0.7884 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.6729, allocations: 16.19 kB / 0.7884 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.673, allocations: 171.9 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.6731, allocations: 13.48 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.6731, allocations: 17.25 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.6733, allocations: 64.36 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6733, allocations: 0 / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6733, allocations: 6.562 kB / 0.7886 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.6733, allocations: 2.781 kB / 0.7887 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.462e-05/0.6734, allocations: 20.61 kB / 0.7887 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.6739, allocations: 413.2 kB / 0.7891 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.475e-05/0.674, allocations: 32.33 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.674, allocations: 23.78 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.674, allocations: 2.906 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.6743, allocations: 102.4 kB / 0.7892 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.6743, allocations: 0 / 0.7892 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002881/0.6746, allocations: 135.4 kB / 0.7893 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.6746, allocations: 53.38 kB / 0.7894 GB, free: 48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.6747, allocations: 142.2 kB / 0.7895 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.6747, allocations: 34.27 kB / 0.7896 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.6748, allocations: 97.22 kB / 0.7897 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.6748, allocations: 24.11 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.6749, allocations: 70.08 kB / 0.7897 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.675, allocations: 322.6 kB / 0.7901 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.6752, allocations: 87.45 kB / 0.7901 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.6754, allocations: 137.9 kB / 0.7903 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.6756, allocations: 239 kB / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6756, allocations: 0 / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004841/0.6761, allocations: 373.9 kB / 0.7909 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.6761, allocations: 100 kB / 0.791 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6761, allocations: 2.031 kB / 0.791 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.6762, allocations: 3 kB / 0.791 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.018e-05/0.6762, allocations: 12.66 kB / 0.791 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6762, allocations: 2.438 kB / 0.791 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004786/0.6767, allocations: 80.41 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.6768, allocations: 21.33 kB / 0.7911 GB, free: 47 MB / 0.6544 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 9.89e-05/0.6769, allocations: 133.9 kB / 0.7912 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.6769, allocations: 12.62 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.6769, allocations: 8 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.6769, allocations: 3.672 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6769, allocations: 0 / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6769, allocations: 0.7188 kB / 0.7912 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.6771, allocations: 198.8 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6771, allocations: 1.375 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.6771, allocations: 3.391 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.6771, allocations: 0 / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.6771, allocations: 9.141 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6771, allocations: 0 / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6771, allocations: 0.5625 kB / 0.7914 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.6773, allocations: 143.5 kB / 0.7916 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.6773, allocations: 86.3 kB / 0.7916 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.6774, allocations: 5.969 kB / 0.7916 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.283e-05/0.6774, allocations: 2.5 kB / 0.7917 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.6774, allocations: 15.92 kB / 0.7917 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.6775, allocations: 4.594 kB / 0.7917 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.6775, allocations: 102.2 kB / 0.7918 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6775, allocations: 0.6562 kB / 0.7918 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002536/0.6778, allocations: 42.94 kB / 0.7918 GB, free: 46.45 MB / 0.6544 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.0001616/0.6779, allocations: 107.1 kB / 0.7919 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003931/0.6783, allocations: 362.2 kB / 0.7923 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6784, allocations: 0.6875 kB / 0.7923 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.618e-05/0.6784, allocations: 42.41 kB / 0.7923 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.6787, allocations: 36.02 kB / 0.7923 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.6791, allocations: 220.7 kB / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.6793, allocations: 0.6967 MB / 0.7932 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.6793, allocations: 18.19 kB / 0.7932 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6793, allocations: 0 / 0.7932 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.003454/0.6828, allocations: 1.877 MB / 0.7951 GB, free: 45.21 MB / 0.6544 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)