Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.674/1.674, allocations: 287.4 MB / 303.2 MB, free: 8.328 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.001106/0.001106, allocations: 182.4 kB / 371.8 MB, free: 10.83 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.78/1.78, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.000963/0.000963, allocations: 85.28 kB / 0.7437 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 12.38 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.233, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.0009046/0.234, allocations: 494 kB / 0.9798 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2354, allocations: 1.302 MB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.2355, allocations: 4 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.2355, allocations: 7.922 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.2356, allocations: 11.86 kB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006462/0.2363, allocations: 260.9 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.2365, allocations: 295.5 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.2367, allocations: 57.52 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2369, allocations: 131.8 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.237, allocations: 107.6 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.923e-05/0.2371, allocations: 16 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.793e-05/0.2372, allocations: 31.98 kB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.2373, allocations: 59.84 kB / 0.982 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.2373, allocations: 57.64 kB / 0.982 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.2376, allocations: 231.6 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.2376, allocations: 0 / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2376, allocations: 8 kB / 0.9823 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.2376, allocations: 0 / 0.9823 GB, free: 25.13 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.0007205/0.2384, allocations: 482.5 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.2384, allocations: 8.031 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.2385, allocations: 24.83 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.2392, allocations: 262.8 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/0.2393, allocations: 24.38 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.56e-05/0.2394, allocations: 36.36 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.2397, allocations: 207.3 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2397, allocations: 3.938 kB / 0.9833 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2398, allocations: 11.98 kB / 0.9833 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2398, allocations: 7.984 kB / 0.9833 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.24, allocations: 103.9 kB / 0.9834 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.2408, allocations: 0.5741 MB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.2412, allocations: 262.5 kB / 0.9842 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.2414, allocations: 120.8 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.2414, allocations: 0 / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006147/0.242, allocations: 487.3 kB / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.2421, allocations: 0 / 0.9848 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0009683/0.243, allocations: 0.5635 MB / 0.9853 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.2431, allocations: 63.34 kB / 0.9854 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2432, allocations: 159.9 kB / 0.9855 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.2433, allocations: 53.69 kB / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.2433, allocations: 124.9 kB / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.109e-05/0.2434, allocations: 98.84 kB / 0.9858 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.2434, allocations: 12 kB / 0.9858 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2436, allocations: 338.8 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.2439, allocations: 169.1 kB / 0.9863 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.2442, allocations: 281.8 kB / 0.9866 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.2446, allocations: 361.1 kB / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.2446, allocations: 0 / 0.9869 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006858/0.2453, allocations: 0.5565 MB / 0.9874 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.2454, allocations: 67.33 kB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2454, allocations: 4 kB / 0.9875 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.2454, allocations: 8 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.905e-05/0.2455, allocations: 31.86 kB / 0.9875 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.2455, allocations: 12.25 kB / 0.9876 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.2459, allocations: 103.6 kB / 0.9877 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.2459, allocations: 24 kB / 0.9877 GB, free: 19.23 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.0001611/0.2461, allocations: 186.9 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.2462, allocations: 27.7 kB / 0.9879 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.585e-05/0.2462, allocations: 34.31 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2462, allocations: 3.984 kB / 0.9879 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2463, allocations: 7.938 kB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2463, allocations: 88.92 kB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.2464, allocations: 31.92 kB / 0.988 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.2464, allocations: 7.984 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2466, allocations: 71.81 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005856/0.2472, allocations: 0.506 MB / 0.9886 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005317/0.2477, allocations: 0.6157 MB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002183/0.2479, allocations: 231.9 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.248, allocations: 101.8 kB / 0.9895 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of Backend: time 3.31e-07/0.248, allocations: 0 / 0.9895 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007903/0.2488, allocations: 0.512 MB / 0.99 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0006155/0.2494, allocations: 0.7993 MB / 0.9908 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.006474/0.2559, allocations: 4.132 MB / 0.9949 GB, free: 11.77 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1)