Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.211/3.211, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.002338/0.002338, allocations: 178.8 kB / 371 MB, free: 10.89 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.437/2.437, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009968/0.0009968, allocations: 84.86 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005222/0.0005226, allocations: 17.23 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2401, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0009701/0.2411, allocations: 438.3 kB / 0.9788 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.243, allocations: 1.247 MB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.2431, allocations: 0 / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2431, allocations: 0 / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.737e-05/0.2432, allocations: 15.86 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2444, allocations: 285.6 kB / 0.9803 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.2447, allocations: 203.6 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2448, allocations: 12.17 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.245, allocations: 83.86 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.2451, allocations: 67.78 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/0.2452, allocations: 12 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.2454, allocations: 23.98 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.2454, allocations: 15.92 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.2455, allocations: 45.7 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.2457, allocations: 147.9 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2457, allocations: 4 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.965e-06/0.2458, allocations: 4 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2458, allocations: 0 / 0.9809 GB, free: 25.79 MB / 0.6198 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.0005362/0.2463, allocations: 456.2 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2464, allocations: 8.031 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.2465, allocations: 15.91 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2466, allocations: 179 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.2466, allocations: 4 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.2467, allocations: 12 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.2469, allocations: 65.66 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2469, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2469, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2469, allocations: 0 / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.603e-05/0.247, allocations: 23.98 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/0.2479, allocations: 428.4 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2481, allocations: 34.52 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.2482, allocations: 20.94 kB / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2482, allocations: 0 / 0.9821 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.2486, allocations: 111.2 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.095e-06/0.2486, allocations: 0 / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006266/0.2493, allocations: 133.5 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.2494, allocations: 59.36 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.2495, allocations: 137.7 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.2496, allocations: 33.7 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.2497, allocations: 100.1 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2498, allocations: 19.8 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.2498, allocations: 4 kB / 0.9826 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/0.2499, allocations: 326.8 kB / 0.983 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.2502, allocations: 87.95 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.2505, allocations: 139 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.2509, allocations: 166 kB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2509, allocations: 0 / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009056/0.2518, allocations: 378.5 kB / 0.9837 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.252e-05/0.2519, allocations: 101.1 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.2519, allocations: 0 / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.252, allocations: 4 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.892e-05/0.252, allocations: 11.89 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.252, allocations: 0 / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009775/0.253, allocations: 125.2 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/0.2531, allocations: 15.98 kB / 0.9839 GB, free: 22.34 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.2533, allocations: 129.8 kB / 0.9841 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2533, allocations: 7.906 kB / 0.9841 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.651e-05/0.2534, allocations: 12.38 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2534, allocations: 3.984 kB / 0.9841 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2534, allocations: 3.953 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2534, allocations: 4 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.2536, allocations: 193.6 kB / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2536, allocations: 0 / 0.9843 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.2537, allocations: 7.922 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.2537, allocations: 384 / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.2537, allocations: 8 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2537, allocations: 3.938 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2537, allocations: 0 / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.254, allocations: 148.9 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.2541, allocations: 81.02 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.2541, allocations: 0 / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.2541, allocations: 8 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.2542, allocations: 7.984 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2542, allocations: 4 kB / 0.9845 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.2543, allocations: 96.67 kB / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2543, allocations: 0 / 0.9846 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003753/0.2547, allocations: 51.94 kB / 0.9847 GB, free: 21.5 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.2549, allocations: 103.2 kB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006188/0.2555, allocations: 366 kB / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2555, allocations: 0 / 0.9851 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.153e-05/0.2556, allocations: 39.92 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.256, allocations: 20.36 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.2565, allocations: 211.5 kB / 0.9854 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.2567, allocations: 0.6926 MB / 0.9861 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.414e-05/0.2567, allocations: 12.44 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.2568, allocations: 11.44 kB / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of SimCode: time 1.063e-06/0.2568, allocations: 0 / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.007208/0.264, allocations: 2.396 MB / 0.9884 GB, free: 17.6 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)