Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001078/0.001078, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002528, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001488/0.001488, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.003104, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.013/1.013, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09446/1.107, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.8032/0.8032, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2524/1.056, allocations: 49.13 MB / 448.6 MB, free: 5.91 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.365e-06/9.918e-06, allocations: 3.938 kB / 450 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001117/0.001127, allocations: 0.8157 MB / 450.8 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.002132, allocations: 1.294 MB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.002178, allocations: 0.625 kB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.002207, allocations: 15.8 kB / 452.1 MB, free: 2.492 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.002245, allocations: 17.86 kB / 452.1 MB, free: 2.48 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.002755, allocations: 246 kB / 452.3 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.002974, allocations: 254.3 kB / 452.6 MB, free: 2.016 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003075, allocations: 46.3 kB / 452.6 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.00323, allocations: 166.5 kB / 452.8 MB, free: 1.816 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.003353, allocations: 78.7 kB / 452.9 MB, free: 1.742 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.003384, allocations: 20.78 kB / 452.9 MB, free: 1.723 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.048e-05/0.003464, allocations: 28 kB / 452.9 MB, free: 1.695 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.003495, allocations: 28.92 kB / 453 MB, free: 1.668 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.003548, allocations: 47.94 kB / 453 MB, free: 1.621 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.003719, allocations: 155.5 kB / 453.2 MB, free: 1.469 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.00373, allocations: 1.969 kB / 453.2 MB, free: 1.469 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003731, allocations: 0 / 453.2 MB, free: 1.469 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.003741, allocations: 0 / 453.2 MB, free: 1.469 MB / 426.7 MB 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.0005109/0.004251, allocations: 428.8 kB / 453.6 MB, free: 1.016 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.004288, allocations: 12.59 kB / 453.6 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.935e-05/0.004348, allocations: 28.91 kB / 453.6 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.004505, allocations: 149.5 kB / 453.8 MB, free: 0.8086 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.004518, allocations: 13.25 kB / 453.8 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.004545, allocations: 24.36 kB / 453.8 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.004654, allocations: 98.16 kB / 453.9 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.004662, allocations: 1.156 kB / 453.9 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.004671, allocations: 4.375 kB / 453.9 MB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.004678, allocations: 7.422 kB / 453.9 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.00472, allocations: 51.78 kB / 454 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.005013, allocations: 251.8 kB / 454.2 MB, free: 360 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.114e-05/0.005094, allocations: 67.22 kB / 454.3 MB, free: 284 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.005114, allocations: 20.84 kB / 454.3 MB, free: 260 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.469e-06/0.005118, allocations: 5.062 kB / 454.3 MB, free: 256 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.005243, allocations: 116 kB / 454.4 MB, free: 128 kB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.005244, allocations: 2.156 kB / 454.4 MB, free: 128 kB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001692/0.005413, allocations: 131.2 kB / 454.5 MB, free: 15.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.005443, allocations: 67.28 kB / 454.6 MB, free: 15.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.005514, allocations: 146.5 kB / 454.7 MB, free: 15.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.005534, allocations: 33.7 kB / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.005583, allocations: 112.5 kB / 454.9 MB, free: 15.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.005601, allocations: 37.12 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.005661, allocations: 65.64 kB / 455 MB, free: 15.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.005733, allocations: 326.8 kB / 455.3 MB, free: 15.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.087e-05/0.005804, allocations: 107.9 kB / 455.4 MB, free: 15.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.005891, allocations: 163.1 kB / 455.6 MB, free: 14.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.006007, allocations: 200.5 kB / 455.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006009, allocations: 0 / 455.8 MB, free: 14.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001938/0.006203, allocations: 302.1 kB / 456.1 MB, free: 14.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.006244, allocations: 68.02 kB / 456.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.00625, allocations: 9.812 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.006261, allocations: 4 kB / 456.1 MB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.00628, allocations: 11.92 kB / 456.2 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006285, allocations: 5.719 kB / 456.2 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.006437, allocations: 51.8 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.006454, allocations: 12.89 kB / 456.2 MB, free: 14.13 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 7.102e-05/0.006525, allocations: 130.8 kB / 456.4 MB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.00654, allocations: 15.97 kB / 456.4 MB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.006563, allocations: 13.31 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.006564, allocations: 1.312 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.006566, allocations: 0 / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.00657, allocations: 3.938 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.006755, allocations: 278.6 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006757, allocations: 1.688 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.006765, allocations: 5.219 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.006773, allocations: 7.953 kB / 456.7 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006775, allocations: 3.984 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.006782, allocations: 8 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.006785, allocations: 9 kB / 456.7 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006786, allocations: 0 / 456.7 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.006893, allocations: 211 kB / 456.9 MB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.006905, allocations: 7.984 kB / 456.9 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.006936, allocations: 0 / 456.9 MB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.006964, allocations: 19.91 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.006977, allocations: 8.719 kB / 456.9 MB, free: 13.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.508e-05/0.006992, allocations: 16.84 kB / 457 MB, free: 13.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006992, allocations: 1.438 kB / 457 MB, free: 13.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.007156, allocations: 47.95 kB / 457 MB, free: 13.31 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$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 (16): * Single equations (assignments): 8 * 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 9.622e-05/0.007252, allocations: 99.98 kB / 457.1 MB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.007457, allocations: 298.9 kB / 457.4 MB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.007462, allocations: 12.58 kB / 457.4 MB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.007505, allocations: 52.77 kB / 457.5 MB, free: 12.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.00769, allocations: 140.8 kB / 457.6 MB, free: 12.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.008126, allocations: 259.2 kB / 457.8 MB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.008161, allocations: 71.83 kB / 457.9 MB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.008188, allocations: 11.41 kB / 457.9 MB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.008282, allocations: 84.38 kB / 458 MB, free: 12.19 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.008282, allocations: 0 / 458 MB, free: 12.19 MB / 442.7 MB Notification: Performance of Templates: time 0.003727/0.01201, allocations: 2.483 MB / 460.5 MB, free: 9.895 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5639628348872066]