Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008729/0.0008729, allocations: 81.41 kB / 20.82 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 165 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9686/0.9686, allocations: 177.2 MB / 204.7 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.97/1.97, allocations: 389.6 MB / 0.6355 GB, free: 12.24 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/2.135e-05, allocations: 3.906 kB / 0.7754 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002117/0.002138, allocations: 0.8207 MB / 0.7762 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.00375, allocations: 1.278 MB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.868e-05/0.003809, allocations: 5.891 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.003854, allocations: 11.86 kB / 0.7775 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.755e-05/0.003951, allocations: 17.5 kB / 0.7775 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.004442, allocations: 244.7 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.004677, allocations: 255.4 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.004795, allocations: 45.91 kB / 0.778 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004955, allocations: 147.8 kB / 0.7781 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.005076, allocations: 72.31 kB / 0.7782 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.005108, allocations: 24.5 kB / 0.7782 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.005188, allocations: 37.23 kB / 0.7783 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.005218, allocations: 27.89 kB / 0.7783 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.005277, allocations: 71.88 kB / 0.7784 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.005465, allocations: 194.1 kB / 0.7785 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.005468, allocations: 0 / 0.7785 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.005468, allocations: 0 / 0.7785 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.005472, allocations: 0 / 0.7785 GB, free: 2.035 MB / 0.7292 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.0004167/0.005889, allocations: 399.7 kB / 0.7789 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.005931, allocations: 9.344 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.005987, allocations: 28.91 kB / 0.779 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.006165, allocations: 153.3 kB / 0.7791 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.006184, allocations: 16.36 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.006214, allocations: 24.36 kB / 0.7791 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.006317, allocations: 89.03 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.006325, allocations: 192 / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.006333, allocations: 4.375 kB / 0.7792 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.006341, allocations: 8.359 kB / 0.7792 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.414e-05/0.006375, allocations: 27.92 kB / 0.7793 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.006703, allocations: 265.1 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.006814, allocations: 82.45 kB / 0.7796 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.006847, allocations: 32.84 kB / 0.7796 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.006854, allocations: 1.312 kB / 0.7796 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.007005, allocations: 164.6 kB / 0.7798 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/0.007007, allocations: 1.344 kB / 0.7798 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0001946/0.007201, allocations: 178.1 kB / 0.78 GB, free: 492 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.007236, allocations: 59.34 kB / 0.78 GB, free: 420 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.007321, allocations: 167.5 kB / 0.7802 GB, free: 240 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.007346, allocations: 37.7 kB / 0.7802 GB, free: 196 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.007395, allocations: 109 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.007427, allocations: 72.52 kB / 0.7804 GB, free: 12 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.87e-05/0.007526, allocations: 94 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.007606, allocations: 334.8 kB / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.692e-05/0.007703, allocations: 116.7 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.007811, allocations: 190.3 kB / 0.7811 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.007972, allocations: 240.7 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.007976, allocations: 3.938 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002533/0.008229, allocations: 370.5 kB / 0.7817 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/0.008297, allocations: 72.98 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.008302, allocations: 0 / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.008313, allocations: 4 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.34e-05/0.008346, allocations: 19.94 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.008354, allocations: 12.52 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.008518, allocations: 60.91 kB / 0.7818 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.008542, allocations: 19.98 kB / 0.7819 GB, free: 14.37 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,falCleFalIni.clr,falCleTruIni.clr,truCleFalIni.clr,truCleTruIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.934e-05/0.008631, allocations: 152 kB / 0.782 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.008652, allocations: 23.97 kB / 0.782 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.008687, allocations: 19.47 kB / 0.782 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008688, allocations: 4 kB / 0.782 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.008691, allocations: 0 / 0.782 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.008696, allocations: 4 kB / 0.782 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.009016, allocations: 375.9 kB / 0.7824 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009017, allocations: 0.9062 kB / 0.7824 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.009038, allocations: 19.92 kB / 0.7824 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.00904, allocations: 0 / 0.7824 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.009048, allocations: 4.969 kB / 0.7824 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.00905, allocations: 4 kB / 0.7824 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.009052, allocations: 5.203 kB / 0.7824 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.009186, allocations: 249.6 kB / 0.7827 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.009197, allocations: 11.91 kB / 0.7827 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.009211, allocations: 8 kB / 0.7827 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.009244, allocations: 1.156 kB / 0.7827 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.009281, allocations: 31.83 kB / 0.7827 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.009296, allocations: 8 kB / 0.7827 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.018e-05/0.009316, allocations: 28.55 kB / 0.7828 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009316, allocations: 0 / 0.7828 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001751/0.009491, allocations: 71.88 kB / 0.7828 GB, free: 13.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001074/0.009598, allocations: 95.73 kB / 0.7829 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.00987, allocations: 370.2 kB / 0.7833 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.009874, allocations: 0 / 0.7833 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.009929, allocations: 73.31 kB / 0.7833 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.01009, allocations: 33.22 kB / 0.7834 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.01047, allocations: 298.5 kB / 0.7837 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.074e-05/0.01051, allocations: 73.89 kB / 0.7837 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.01055, allocations: 24.91 kB / 0.7838 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.01066, allocations: 103.3 kB / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of SimCode: time 1.292e-06/0.01066, allocations: 0 / 0.7839 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.004638/0.0153, allocations: 3.056 MB / 0.7868 GB, free: 9.312 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0426974799484015]