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.001463/0.001464, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001725/0.001725, allocations: 191 kB / 17.29 MB, free: 5.516 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.912/1.912, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002357/0.002357, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3141, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.003387/0.3176, allocations: 0.7062 MB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.3204, allocations: 1.258 MB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.113e-05/0.3205, allocations: 0 / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.229e-05/0.3206, allocations: 7.922 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3208, allocations: 19.8 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.3224, allocations: 314.4 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005452/0.3229, allocations: 271.5 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3231, allocations: 16.19 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3233, allocations: 103.8 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.3236, allocations: 95.73 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-05/0.3237, allocations: 20 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.3239, allocations: 35.92 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.324, allocations: 15.98 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.3242, allocations: 79.75 kB / 0.7876 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4223/0.7465, allocations: 226.6 kB / 0.7879 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.7466, allocations: 2.719 kB / 0.7879 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.677e-06/0.7466, allocations: 1.188 kB / 0.7879 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.7466, allocations: 1.375 kB / 0.7879 GB, free: 47.05 MB / 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.0007372/0.7473, allocations: 490.8 kB / 0.7883 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7474, allocations: 8.844 kB / 0.7883 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.7475, allocations: 24.66 kB / 0.7884 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.7476, allocations: 174.9 kB / 0.7885 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.7476, allocations: 9.406 kB / 0.7885 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.7477, allocations: 11.84 kB / 0.7886 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.7478, allocations: 61.33 kB / 0.7886 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7479, allocations: 0 / 0.7886 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7479, allocations: 3.938 kB / 0.7886 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.7479, allocations: 2.812 kB / 0.7886 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.625e-05/0.7479, allocations: 21.27 kB / 0.7886 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.7485, allocations: 412.9 kB / 0.789 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.883e-05/0.7486, allocations: 38.97 kB / 0.7891 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.7487, allocations: 20.77 kB / 0.7891 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.7487, allocations: 0 / 0.7891 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002649/0.7489, allocations: 104 kB / 0.7892 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.749, allocations: 0 / 0.7892 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0003032/0.7493, allocations: 143.3 kB / 0.7893 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.7493, allocations: 55.75 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.7494, allocations: 136.4 kB / 0.7895 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.7495, allocations: 40.56 kB / 0.7895 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.7495, allocations: 93.22 kB / 0.7896 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.7496, allocations: 21.61 kB / 0.7897 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7497, allocations: 63.78 kB / 0.7897 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.409e-05/0.7498, allocations: 326.2 kB / 0.79 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.7499, allocations: 89.09 kB / 0.7901 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.7501, allocations: 139.9 kB / 0.7902 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.7504, allocations: 237.4 kB / 0.7905 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7504, allocations: 3.156 kB / 0.7905 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005421/0.7509, allocations: 378.7 kB / 0.7908 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.818e-05/0.751, allocations: 98.73 kB / 0.7909 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.751, allocations: 2.438 kB / 0.7909 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.751, allocations: 6.484 kB / 0.7909 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.722e-05/0.7511, allocations: 2.688 kB / 0.7909 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7511, allocations: 7.688 kB / 0.7909 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/0.7516, allocations: 84.39 kB / 0.791 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.7516, allocations: 19.02 kB / 0.791 GB, free: 44.92 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 0.0001125/0.7517, allocations: 135.4 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.7518, allocations: 9.781 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.7518, allocations: 12.06 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7518, allocations: 1.938 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7518, allocations: 0 / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7518, allocations: 2.766 kB / 0.7912 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7519, allocations: 192.5 kB / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.752, allocations: 2.125 kB / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.752, allocations: 5.922 kB / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.752, allocations: 5.328 kB / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.752, allocations: 0 / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.752, allocations: 2.375 kB / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.752, allocations: 0 / 0.7914 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.7522, allocations: 143.8 kB / 0.7915 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.7522, allocations: 83.64 kB / 0.7916 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.7523, allocations: 3.281 kB / 0.7916 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.7523, allocations: 8.125 kB / 0.7916 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.7523, allocations: 12.58 kB / 0.7916 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.7524, allocations: 6.125 kB / 0.7916 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.7524, allocations: 97.41 kB / 0.7917 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7524, allocations: 1.219 kB / 0.7917 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002988/0.7527, allocations: 45.64 kB / 0.7918 GB, free: 44.37 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.0002038/0.753, allocations: 101.2 kB / 0.7919 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005164/0.7535, allocations: 370 kB / 0.7922 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7535, allocations: 2.625 kB / 0.7922 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.7536, allocations: 37.28 kB / 0.7923 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.7539, allocations: 26.25 kB / 0.7923 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.7543, allocations: 193 kB / 0.7925 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.7546, allocations: 0.693 MB / 0.7932 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.389e-05/0.7546, allocations: 12.03 kB / 0.7932 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.7546, allocations: 12.69 kB / 0.7932 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.7546, allocations: 0 / 0.7932 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.005799/0.7605, allocations: 2.63 MB / 0.7958 GB, free: 43.13 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)