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 2.851/2.851, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001386/0.001386, allocations: 186.3 kB / 371 MB, free: 10.87 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.176/2.176, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.001404/0.001404, allocations: 98.03 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007808/0.000781, allocations: 18.16 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2852, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001067/0.2863, allocations: 486 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.2884, allocations: 1.313 MB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.2886, allocations: 0 / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.2886, allocations: 7.938 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.2887, allocations: 11.86 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.2899, allocations: 265.8 kB / 0.9804 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.2903, allocations: 299.5 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2905, allocations: 41.09 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.2907, allocations: 127.8 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.2909, allocations: 115.6 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.2909, allocations: 16 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.2911, allocations: 27.98 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.2912, allocations: 55.86 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.2913, allocations: 57.64 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.2916, allocations: 239.7 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2916, allocations: 4 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2916, allocations: 0 / 0.9813 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2916, allocations: 0 / 0.9813 GB, free: 25.3 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.0007519/0.2924, allocations: 474.3 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.2924, allocations: 16.02 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.2926, allocations: 19.91 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009089/0.2935, allocations: 273.6 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/0.2936, allocations: 23.98 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-05/0.2937, allocations: 35.98 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.2942, allocations: 206.8 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2942, allocations: 0 / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.2943, allocations: 19.95 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.048e-06/0.2943, allocations: 4 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.2946, allocations: 99.88 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2957, allocations: 0.5664 MB / 0.983 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.2964, allocations: 270.5 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.2967, allocations: 120.8 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2968, allocations: 0 / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.2978, allocations: 493 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.256e-06/0.2979, allocations: 0 / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.001504/0.2994, allocations: 0.5635 MB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.2995, allocations: 59.41 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.2997, allocations: 156.5 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.2998, allocations: 57.69 kB / 0.9847 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9e-05/0.2999, allocations: 116.9 kB / 0.9848 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.601e-05/0.3, allocations: 98.84 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.3001, allocations: 12 kB / 0.9849 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.3002, allocations: 338.8 kB / 0.9852 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.3006, allocations: 169.1 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/0.3013, allocations: 281.8 kB / 0.9856 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004135/0.3017, allocations: 197.5 kB / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.3017, allocations: 0 / 0.9858 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001287/0.303, allocations: 0.5529 MB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.884e-05/0.3031, allocations: 67.42 kB / 0.9864 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.3031, allocations: 4 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/0.3032, allocations: 11.94 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3033, allocations: 27.86 kB / 0.9865 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.3033, allocations: 7.938 kB / 0.9865 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.3041, allocations: 99.62 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/0.3041, allocations: 31.98 kB / 0.9866 GB, free: 19.61 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.0002806/0.3044, allocations: 178.9 kB / 0.9868 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.3045, allocations: 27.67 kB / 0.9868 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.3047, allocations: 42.3 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.3047, allocations: 4 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3047, allocations: 0 / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3047, allocations: 3.984 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3062, allocations: 0.8392 MB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3062, allocations: 3.938 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.3063, allocations: 11.92 kB / 0.9877 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.3063, allocations: 4 kB / 0.9877 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.3064, allocations: 23.97 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3064, allocations: 0 / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3064, allocations: 0 / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3074, allocations: 0.55 MB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.3075, allocations: 96.86 kB / 0.9883 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3076, allocations: 19.98 kB / 0.9884 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3078, allocations: 15.98 kB / 0.9884 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.308, allocations: 63.88 kB / 0.9884 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.3081, allocations: 31.97 kB / 0.9885 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.933e-05/0.3082, allocations: 101.1 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3082, allocations: 0 / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005879/0.3088, allocations: 95.98 kB / 0.9886 GB, free: 17.41 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.0003063/0.3091, allocations: 143.1 kB / 0.9888 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.3103, allocations: 0.5414 MB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3103, allocations: 4.062 kB / 0.9893 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.3108, allocations: 264.1 kB / 0.9896 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005143/0.3113, allocations: 39.92 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3124, allocations: 478.1 kB / 0.9901 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.3127, allocations: 0.7374 MB / 0.9908 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002036/0.3129, allocations: 38.95 kB / 0.9908 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.3131, allocations: 39.42 kB / 0.9909 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.3131, allocations: 3.938 kB / 0.9909 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.01213/0.3252, allocations: 4.008 MB / 0.9948 GB, free: 11.07 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)