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.IntegerSwitch.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.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.863/1.863, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.001102/0.001102, allocations: 185.7 kB / 372.3 MB, free: 10.12 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.116/2.116, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0008034/0.0008035, allocations: 94.25 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003957, allocations: 13.78 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch): time 0.0009955/0.2286, allocations: 0.5373 MB / 0.9807 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.2301, allocations: 1.263 MB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.2302, allocations: 4 kB / 0.9819 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.2303, allocations: 7.938 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.625e-05/0.2304, allocations: 11.86 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008848/0.2313, allocations: 290.8 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.2316, allocations: 231.5 kB / 0.9824 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.2317, allocations: 33.42 kB / 0.9825 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.232, allocations: 103.8 kB / 0.9826 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.2322, allocations: 71.72 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.2323, allocations: 16 kB / 0.9826 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.2324, allocations: 27.98 kB / 0.9827 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.728e-05/0.2324, allocations: 19.92 kB / 0.9827 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.2326, allocations: 113.4 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.2328, allocations: 187.8 kB / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.2328, allocations: 0 / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2329, allocations: 0 / 0.983 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2329, allocations: 0 / 0.983 GB, free: 24.41 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006011/0.2335, allocations: 480.3 kB / 0.9834 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.2335, allocations: 11.97 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.2336, allocations: 24.73 kB / 0.9835 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2338, allocations: 185.4 kB / 0.9836 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.2338, allocations: 16.38 kB / 0.9837 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.2339, allocations: 16.38 kB / 0.9837 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2341, allocations: 103.8 kB / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2341, allocations: 0 / 0.9838 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2341, allocations: 8 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2341, allocations: 3.938 kB / 0.9838 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2342, allocations: 47.91 kB / 0.9838 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.2349, allocations: 0.4885 MB / 0.9843 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.2352, allocations: 70.61 kB / 0.9844 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.2352, allocations: 28.92 kB / 0.9844 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2352, allocations: 4 kB / 0.9844 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.2354, allocations: 119.2 kB / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.953e-06/0.2355, allocations: 0 / 0.9845 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0003223/0.2358, allocations: 173.5 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.2358, allocations: 55.39 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2359, allocations: 164.3 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.236, allocations: 37.7 kB / 0.9849 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.236, allocations: 104 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2361, allocations: 31.56 kB / 0.9851 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.2361, allocations: 12 kB / 0.9851 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.2361, allocations: 322.8 kB / 0.9854 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.2363, allocations: 95.94 kB / 0.9855 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.2365, allocations: 145.9 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2368, allocations: 252.6 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2368, allocations: 0 / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005391/0.2373, allocations: 403.8 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.2374, allocations: 101.1 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2374, allocations: 4 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2375, allocations: 3.938 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.032e-05/0.2375, allocations: 12 kB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2375, allocations: 0 / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.238, allocations: 126.9 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.2381, allocations: 23.98 kB / 0.9865 GB, free: 20.47 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.000104/0.2382, allocations: 129.8 kB / 0.9866 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.2382, allocations: 15.81 kB / 0.9866 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.2383, allocations: 20.77 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2383, allocations: 0 / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2383, allocations: 0 / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2383, allocations: 4 kB / 0.9867 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.2385, allocations: 221.5 kB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2385, allocations: 3.984 kB / 0.9869 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.2385, allocations: 8 kB / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2385, allocations: 0 / 0.9869 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2386, allocations: 11.88 kB / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2386, allocations: 0 / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2386, allocations: 0 / 0.9869 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.2388, allocations: 164.9 kB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.2388, allocations: 92.95 kB / 0.9871 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2388, allocations: 7.922 kB / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.2389, allocations: 0 / 0.9871 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.2389, allocations: 15.98 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/0.239, allocations: 4 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.239, allocations: 116.1 kB / 0.9873 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.1e-07/0.239, allocations: 4 kB / 0.9873 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000269/0.2393, allocations: 48 kB / 0.9873 GB, free: 19.53 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.000172/0.2395, allocations: 111.2 kB / 0.9874 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.2399, allocations: 385.6 kB / 0.9878 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2399, allocations: 7.938 kB / 0.9878 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.308e-05/0.24, allocations: 47.92 kB / 0.9879 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2403, allocations: 34.03 kB / 0.9879 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.2408, allocations: 268.1 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.241, allocations: 0.7087 MB / 0.9888 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.241, allocations: 16.62 kB / 0.9888 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.2411, allocations: 15.44 kB / 0.9889 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.2411, allocations: 0 / 0.9889 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.005033/0.2461, allocations: 2.601 MB / 0.9914 GB, free: 15.29 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.IntegerSwitch.pipe 2>&1)