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.824/1.824, allocations: 287.5 MB / 302.6 MB, free: 8.281 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.001168/0.001168, allocations: 174.9 kB / 371.2 MB, free: 10.84 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.948/1.948, allocations: 205.4 MB / 0.6299 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.0008846/0.0008847, allocations: 97.2 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004796, allocations: 14.19 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2383, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.0009448/0.2393, allocations: 494 kB / 0.9792 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2409, allocations: 1.298 MB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.241, allocations: 0 / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.2411, allocations: 7.922 kB / 0.9804 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.2412, allocations: 15.86 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008087/0.242, allocations: 266.2 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.2423, allocations: 299.5 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2424, allocations: 49.09 kB / 0.981 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2427, allocations: 123.8 kB / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.2428, allocations: 115.6 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.2429, allocations: 16 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.243, allocations: 28 kB / 0.9813 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.2431, allocations: 59.84 kB / 0.9814 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.581e-05/0.2431, allocations: 53.64 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2434, allocations: 239.6 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2434, allocations: 4 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2434, allocations: 0 / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.2434, allocations: 4 kB / 0.9817 GB, free: 25.12 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.0006368/0.2441, allocations: 480.4 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2441, allocations: 8.031 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.2442, allocations: 24.83 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.2448, allocations: 264.2 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.2449, allocations: 28.36 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.245, allocations: 28.38 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.2453, allocations: 207.3 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2453, allocations: 3.938 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2453, allocations: 15.97 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.2454, allocations: 7.984 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2455, allocations: 99.88 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007288/0.2463, allocations: 0.5741 MB / 0.9833 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.2467, allocations: 258.6 kB / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.2468, allocations: 120.8 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.2468, allocations: 0 / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.2474, allocations: 486.6 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 1.733e-06/0.2474, allocations: 3.938 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.0007991/0.2482, allocations: 0.5635 MB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2483, allocations: 71.27 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.2484, allocations: 151.2 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.2484, allocations: 53.69 kB / 0.985 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.2485, allocations: 120.9 kB / 0.9851 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.2486, allocations: 98.84 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.2486, allocations: 12 kB / 0.9852 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.2487, allocations: 342.8 kB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.2489, allocations: 165.1 kB / 0.9857 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.2492, allocations: 285.8 kB / 0.986 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2496, allocations: 365.1 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2496, allocations: 4 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006767/0.2503, allocations: 0.5487 MB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.2503, allocations: 71.39 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2503, allocations: 0 / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2504, allocations: 8 kB / 0.9869 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.2504, allocations: 32.17 kB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.2505, allocations: 11.94 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.2508, allocations: 99.62 kB / 0.9871 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.2509, allocations: 27.98 kB / 0.9871 GB, free: 19.22 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.0001418/0.251, allocations: 182.9 kB / 0.9873 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.2511, allocations: 23.72 kB / 0.9873 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.2511, allocations: 34.31 kB / 0.9873 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2511, allocations: 15.92 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.2511, allocations: 4 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2512, allocations: 3.984 kB / 0.9873 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007762/0.2519, allocations: 0.8353 MB / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.252, allocations: 4 kB / 0.9882 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.252, allocations: 15.92 kB / 0.9882 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.252, allocations: 7.938 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.252, allocations: 19.97 kB / 0.9882 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.2521, allocations: 0 / 0.9882 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2521, allocations: 0 / 0.9882 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.2526, allocations: 0.5383 MB / 0.9887 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.2527, allocations: 100.8 kB / 0.9888 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.2527, allocations: 27.98 kB / 0.9888 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.2528, allocations: 11.98 kB / 0.9889 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.2529, allocations: 67.88 kB / 0.9889 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.253, allocations: 27.97 kB / 0.9889 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.253, allocations: 105.7 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.253, allocations: 0 / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000328/0.2534, allocations: 99.92 kB / 0.9891 GB, free: 17.02 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.0001776/0.2536, allocations: 148 kB / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00065/0.2542, allocations: 0.5407 MB / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2542, allocations: 0 / 0.9898 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.2545, allocations: 264.1 kB / 0.9901 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.2548, allocations: 40.66 kB / 0.9901 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.2555, allocations: 482.1 kB / 0.9906 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.2556, allocations: 0.7296 MB / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.2558, allocations: 42.95 kB / 0.9913 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.2559, allocations: 43.36 kB / 0.9914 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2559, allocations: 0 / 0.9914 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.007105/0.263, allocations: 4.017 MB / 0.9953 GB, free: 10.66 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)