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.851/1.851, allocations: 288.4 MB / 303.4 MB, free: 8.215 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.00151/0.00151, allocations: 188.5 kB / 372 MB, free: 10.27 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.549/1.549, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007598/0.0007599, allocations: 97.28 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.000419, allocations: 16.47 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2094, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.000861/0.2103, allocations: 434.5 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.2119, allocations: 1.247 MB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.2119, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.212, allocations: 0 / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.2121, allocations: 15.86 kB / 0.9813 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.2129, allocations: 276.8 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.2131, allocations: 203.6 kB / 0.9817 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.2132, allocations: 12.17 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2133, allocations: 87.86 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.2135, allocations: 67.78 kB / 0.9819 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.2135, allocations: 12 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.903e-05/0.2136, allocations: 19.98 kB / 0.9819 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.2136, allocations: 19.92 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.2137, allocations: 45.7 kB / 0.982 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.2139, allocations: 151.9 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2139, allocations: 0 / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2139, allocations: 4 kB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2139, allocations: 0 / 0.9821 GB, free: 25.07 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.0004575/0.2144, allocations: 456.2 kB / 0.9825 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2144, allocations: 8.031 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.2145, allocations: 15.91 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2146, allocations: 175 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.2146, allocations: 7.938 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.2147, allocations: 16 kB / 0.9828 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2148, allocations: 65.66 kB / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2148, allocations: 0 / 0.9828 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2148, allocations: 3.938 kB / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2149, allocations: 0 / 0.9828 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.2149, allocations: 19.98 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.2154, allocations: 424.4 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.283e-05/0.2155, allocations: 30.58 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.2155, allocations: 20.94 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.2155, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.2157, allocations: 103.3 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.2157, allocations: 0 / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002995/0.216, allocations: 137.5 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2161, allocations: 59.41 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.2162, allocations: 137.7 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.2162, allocations: 33.7 kB / 0.9837 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.2163, allocations: 100.1 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.2163, allocations: 19.8 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.2163, allocations: 8 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.2164, allocations: 322.8 kB / 0.9842 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2166, allocations: 87.95 kB / 0.9843 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2168, allocations: 138 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.217, allocations: 172.5 kB / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.217, allocations: 0 / 0.9846 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005537/0.2176, allocations: 370.5 kB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.012e-05/0.2177, allocations: 101.1 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.2177, allocations: 0 / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/0.2177, allocations: 4.375 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.2178, allocations: 11.94 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2178, allocations: 3.953 kB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.2183, allocations: 121.2 kB / 0.9851 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.2184, allocations: 23.92 kB / 0.9852 GB, free: 21.62 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.0001346/0.2185, allocations: 125.8 kB / 0.9853 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.2186, allocations: 7.906 kB / 0.9853 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.2186, allocations: 16.36 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2186, allocations: 0 / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.2186, allocations: 4 kB / 0.9853 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2187, allocations: 3.953 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2189, allocations: 197.6 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2189, allocations: 3.938 kB / 0.9855 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.2189, allocations: 7.922 kB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.2189, allocations: 0 / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2189, allocations: 8 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2189, allocations: 0 / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2189, allocations: 0 / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.2191, allocations: 148.9 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.208e-05/0.2192, allocations: 81.02 kB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.2192, allocations: 0 / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.2192, allocations: 4 kB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.2193, allocations: 11.98 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2193, allocations: 4 kB / 0.9858 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.2194, allocations: 93.52 kB / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2194, allocations: 0 / 0.9858 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002707/0.2196, allocations: 47.98 kB / 0.9859 GB, free: 20.79 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.0002055/0.2199, allocations: 109.5 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004455/0.2203, allocations: 366 kB / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2203, allocations: 0 / 0.9863 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.2204, allocations: 35.92 kB / 0.9864 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2207, allocations: 40.47 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.2211, allocations: 203.5 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.2213, allocations: 0.6965 MB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.2213, allocations: 8.438 kB / 0.9873 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.2213, allocations: 15.44 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.723e-06/0.2214, allocations: 0 / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.004994/0.2264, allocations: 2.392 MB / 0.9897 GB, free: 16.87 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)