Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.4 MB / 304.3 MB, free: 8.109 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.001095/0.001095, allocations: 176.5 kB / 372.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.00122/0.00122, allocations: 92.02 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 13.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.0008676/0.2421, allocations: 430.6 kB / 0.9812 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2438, allocations: 1.243 MB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.2439, allocations: 0 / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.202e-05/0.2439, allocations: 3.938 kB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.607e-05/0.244, allocations: 15.84 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2451, allocations: 281.2 kB / 0.9827 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.2453, allocations: 203.5 kB / 0.9829 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2454, allocations: 20.16 kB / 0.9829 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2456, allocations: 83.86 kB / 0.983 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2457, allocations: 75.7 kB / 0.983 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.2458, allocations: 16 kB / 0.983 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.2459, allocations: 23.98 kB / 0.9831 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.2459, allocations: 8 kB / 0.9831 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.246, allocations: 101.4 kB / 0.9832 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.2462, allocations: 151.9 kB / 0.9833 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2463, allocations: 0 / 0.9833 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2463, allocations: 0 / 0.9833 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2463, allocations: 0 / 0.9833 GB, free: 24.72 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.0004447/0.2467, allocations: 460.3 kB / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2468, allocations: 8.031 kB / 0.9838 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.167e-05/0.2469, allocations: 20.84 kB / 0.9838 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9e-05/0.247, allocations: 179.2 kB / 0.984 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.247, allocations: 8.375 kB / 0.984 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.2471, allocations: 16.38 kB / 0.984 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.2472, allocations: 54.23 kB / 0.984 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2472, allocations: 3.938 kB / 0.984 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.2473, allocations: 3.984 kB / 0.984 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2473, allocations: 3.938 kB / 0.984 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.677e-05/0.2474, allocations: 23.94 kB / 0.9841 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005716/0.2479, allocations: 420.5 kB / 0.9845 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.248, allocations: 26.58 kB / 0.9845 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.2481, allocations: 24.94 kB / 0.9845 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.2481, allocations: 0 / 0.9845 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.2483, allocations: 111.2 kB / 0.9846 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.2484, allocations: 0 / 0.9846 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003472/0.2487, allocations: 137.5 kB / 0.9847 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.2488, allocations: 55.41 kB / 0.9848 GB, free: 23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.2489, allocations: 126.2 kB / 0.9849 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.2489, allocations: 37.7 kB / 0.985 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.249, allocations: 100 kB / 0.9851 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.2491, allocations: 19.75 kB / 0.9851 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.2491, allocations: 7.938 kB / 0.9851 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.2492, allocations: 326.8 kB / 0.9854 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.2494, allocations: 91.95 kB / 0.9855 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.2497, allocations: 129.9 kB / 0.9856 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.2501, allocations: 240.2 kB / 0.9858 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2501, allocations: 4 kB / 0.9858 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007537/0.2508, allocations: 378.4 kB / 0.9862 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.2509, allocations: 102.8 kB / 0.9863 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2509, allocations: 0 / 0.9863 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.251, allocations: 4 kB / 0.9863 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-05/0.251, allocations: 11.98 kB / 0.9863 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.251, allocations: 0 / 0.9863 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/0.2518, allocations: 107.8 kB / 0.9864 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.2519, allocations: 27.98 kB / 0.9864 GB, free: 21.19 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.0001284/0.252, allocations: 135.2 kB / 0.9866 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.2521, allocations: 7.906 kB / 0.9866 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.2521, allocations: 8.375 kB / 0.9866 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2521, allocations: 0 / 0.9866 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2521, allocations: 4 kB / 0.9866 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.2522, allocations: 92.94 kB / 0.9867 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.2522, allocations: 4 kB / 0.9867 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.794e-05/0.2523, allocations: 7.938 kB / 0.9867 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2523, allocations: 11.92 kB / 0.9867 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002101/0.2525, allocations: 188.9 kB / 0.9869 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002167/0.2528, allocations: 278.6 kB / 0.9871 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.257e-05/0.2529, allocations: 36.11 kB / 0.9872 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.2529, allocations: 105.2 kB / 0.9873 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of Backend: time 6.31e-07/0.2529, allocations: 0 / 0.9873 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009319/0.2539, allocations: 420.5 kB / 0.9877 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005702/0.2545, allocations: 0.6489 MB / 0.9883 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.006692/0.2612, allocations: 2.479 MB / 0.9907 GB, free: 16.69 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)