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.Latch.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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.4 MB / 303.4 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.001391/0.001391, allocations: 187.2 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.71/1.71, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0008022/0.0008024, allocations: 102.3 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 12.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.206, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.0008019/0.2068, allocations: 482.3 kB / 0.9801 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2083, allocations: 1.313 MB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.504e-05/0.2084, allocations: 0 / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.2084, allocations: 11.86 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.2085, allocations: 11.92 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.2092, allocations: 265 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2094, allocations: 291.6 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.2096, allocations: 44.84 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.2097, allocations: 127.8 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.2099, allocations: 111.6 kB / 0.9822 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.2099, allocations: 16 kB / 0.9822 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.21, allocations: 31.98 kB / 0.9822 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.091e-05/0.2101, allocations: 55.84 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.2101, allocations: 61.64 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2103, allocations: 227.7 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.2103, allocations: 4 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2103, allocations: 0 / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2103, allocations: 0 / 0.9825 GB, free: 24.61 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005549/0.2109, allocations: 478.3 kB / 0.983 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2109, allocations: 16.02 kB / 0.983 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.211, allocations: 23.89 kB / 0.983 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.2116, allocations: 274.6 kB / 0.9833 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.2117, allocations: 23.98 kB / 0.9833 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.2118, allocations: 35.98 kB / 0.9834 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.2121, allocations: 202.8 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2121, allocations: 0 / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.2121, allocations: 15.97 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2121, allocations: 7.938 kB / 0.9836 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.2123, allocations: 107.8 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.213, allocations: 0.5703 MB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.2134, allocations: 262.6 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.2135, allocations: 120.8 kB / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.2136, allocations: 0 / 0.9846 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005499/0.2141, allocations: 490.5 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.743e-06/0.2141, allocations: 0 / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0007853/0.2149, allocations: 0.5674 MB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.215, allocations: 59.41 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.849e-05/0.2151, allocations: 151.1 kB / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.2151, allocations: 53.7 kB / 0.9859 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.2152, allocations: 116.9 kB / 0.986 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.2153, allocations: 106.8 kB / 0.9861 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.2153, allocations: 12 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.2154, allocations: 338.8 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.2156, allocations: 165.1 kB / 0.9866 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.216, allocations: 291.6 kB / 0.9869 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.2162, allocations: 185.6 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2162, allocations: 0 / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007154/0.2169, allocations: 0.5603 MB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.217, allocations: 67.77 kB / 0.9876 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.217, allocations: 8 kB / 0.9877 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.217, allocations: 8 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.2171, allocations: 27.86 kB / 0.9877 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2171, allocations: 4 kB / 0.9877 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.2175, allocations: 99.62 kB / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.2176, allocations: 27.98 kB / 0.9878 GB, free: 18.89 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 70 ($PRE.falCleTruIni.y,$PRE.truCleTruIni.y,$PRE.falCleFalIni.y,$PRE.truCleFalIni.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,tru.y,fal.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCleTruIni.u,falCleTruIni.u,falCleTruIni.y,$PRE.truCleTruIni.u,truCleTruIni.u,truCleTruIni.y,$PRE.falCleFalIni.u,falCleFalIni.u,falCleFalIni.y,$PRE.truCleFalIni.u,truCleFalIni.u,truCleFalIni.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.y,cleInp.y,$PRE.latInp.y,latInp.y,$PRE.falCleFalIni.clr,falCleFalIni.clr,$PRE.falCleTruIni.clr,falCleTruIni.clr,$PRE.truCleFalIni.clr,truCleFalIni.clr,$PRE.truCleTruIni.clr,truCleTruIni.clr) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * 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.0001668/0.2178, allocations: 178.9 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.2178, allocations: 35.66 kB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.145e-05/0.2179, allocations: 34.31 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2179, allocations: 4 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.2179, allocations: 7.938 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.2179, allocations: 3.984 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.2187, allocations: 0.847 MB / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2188, allocations: 0 / 0.9889 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.2188, allocations: 11.94 kB / 0.9889 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2188, allocations: 0 / 0.9889 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.2188, allocations: 23.97 kB / 0.9889 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2188, allocations: 0 / 0.9889 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2189, allocations: 0 / 0.9889 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.2194, allocations: 0.5384 MB / 0.9895 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2194, allocations: 100.8 kB / 0.9896 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.2195, allocations: 23.98 kB / 0.9896 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.2196, allocations: 15.92 kB / 0.9896 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2197, allocations: 71.86 kB / 0.9897 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.2197, allocations: 31.97 kB / 0.9897 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.2198, allocations: 96.52 kB / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2198, allocations: 0 / 0.9898 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003671/0.2202, allocations: 95.98 kB / 0.9899 GB, free: 16.69 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: 44 ($whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCleTruIni.u,falCleTruIni.y,truCleTruIni.u,truCleTruIni.y,falCleFalIni.u,falCleFalIni.y,truCleFalIni.u,truCleFalIni.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 14 (falCleFalIni.u,falCleTruIni.u,truCleTruIni.u,truCleFalIni.u,swiCleInp1.u,swiCleInp1.clr,swiCleInp.u,swiCleInp.clr,swiCleInp1.y,swiCleInp.y,truCleFalIni.y,falCleFalIni.y,truCleTruIni.y,falCleTruIni.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002197/0.2204, allocations: 140 kB / 0.99 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006637/0.2211, allocations: 0.5524 MB / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2211, allocations: 0.75 kB / 0.9905 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.2213, allocations: 260.1 kB / 0.9908 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.2217, allocations: 40.98 kB / 0.9908 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.2223, allocations: 477.4 kB / 0.9913 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2224, allocations: 0.7373 MB / 0.992 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.2225, allocations: 34.97 kB / 0.992 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.075e-05/0.2226, allocations: 39.41 kB / 0.9921 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2226, allocations: 0 / 0.9921 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.006642/0.2293, allocations: 4.003 MB / 0.996 GB, free: 10.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)