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 1.662/1.662, allocations: 287.4 MB / 303.2 MB, free: 8.141 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.001044/0.001044, allocations: 177.9 kB / 371.8 MB, free: 10.82 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.811/1.811, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009838/0.0009836, allocations: 95.47 kB / 0.7438 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004325, allocations: 16.86 kB / 0.8667 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2299, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.000867/0.2308, allocations: 442.2 kB / 0.9797 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2322, allocations: 1.238 MB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.413e-05/0.2323, allocations: 0 / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.2323, allocations: 3.938 kB / 0.9809 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.366e-05/0.2324, allocations: 15.91 kB / 0.9809 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.2331, allocations: 281 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.2333, allocations: 199.6 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2334, allocations: 16.17 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2335, allocations: 91.8 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.2337, allocations: 71.83 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.2337, allocations: 12 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.917e-05/0.2338, allocations: 23.92 kB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.2338, allocations: 8 kB / 0.9816 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.2339, allocations: 53.64 kB / 0.9817 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.234, allocations: 147.9 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2341, allocations: 0 / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2341, allocations: 0 / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2341, allocations: 0 / 0.9818 GB, free: 25.59 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.0004298/0.2345, allocations: 464.3 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.2346, allocations: 12.03 kB / 0.9823 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.2346, allocations: 20.84 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2347, allocations: 174.5 kB / 0.9824 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.2348, allocations: 8.375 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.2348, allocations: 16.38 kB / 0.9825 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.235, allocations: 54.23 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.235, allocations: 3.938 kB / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.235, allocations: 7.938 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.235, allocations: 0 / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.2351, allocations: 19.97 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.2356, allocations: 420.5 kB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.622e-05/0.2356, allocations: 26.58 kB / 0.983 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.2357, allocations: 28.81 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.2357, allocations: 0 / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001841/0.2359, allocations: 115.2 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.2359, allocations: 0 / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002796/0.2362, allocations: 137.5 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.2362, allocations: 55.41 kB / 0.9833 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.2363, allocations: 125.8 kB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.2363, allocations: 33.7 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.2364, allocations: 100 kB / 0.9835 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.2364, allocations: 19.75 kB / 0.9836 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.2365, allocations: 12 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.2365, allocations: 326.8 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.2367, allocations: 87.89 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.2369, allocations: 140.8 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.2371, allocations: 233 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2371, allocations: 0 / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004681/0.2376, allocations: 374.5 kB / 0.9847 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.2377, allocations: 103.1 kB / 0.9848 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2377, allocations: 4 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.2377, allocations: 0 / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.617e-05/0.2377, allocations: 7.984 kB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2377, allocations: 4 kB / 0.9848 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.2383, allocations: 116.4 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.2383, allocations: 15.98 kB / 0.9849 GB, free: 22.06 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.0001005/0.2384, allocations: 137.7 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.2384, allocations: 7.906 kB / 0.9851 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.2385, allocations: 12.38 kB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2385, allocations: 0 / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2385, allocations: 0 / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.2385, allocations: 88.94 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2385, allocations: 8 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.2386, allocations: 4.312 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.2386, allocations: 11.98 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001505/0.2388, allocations: 184.8 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001593/0.2389, allocations: 282.7 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.893e-05/0.239, allocations: 35.97 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.096e-05/0.2391, allocations: 104.9 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of Backend: time 3.31e-07/0.2391, allocations: 0 / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006699/0.2397, allocations: 416.5 kB / 0.9862 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004504/0.2402, allocations: 0.6528 MB / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.004389/0.2446, allocations: 2.455 MB / 0.9892 GB, free: 17.59 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)