Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006966/0.0006966, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008791/0.001576, allocations: 435.8 kB / 10.33 MB, free: 368 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.000701/0.000701, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009386/0.00164, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09751/1.128, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7782/0.7782, allocations: 154.6 MB / 398.5 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.297/1.075, allocations: 49.03 MB / 447.6 MB, free: 6.711 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/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 448.9 MB, free: 5.418 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.082e-05, allocations: 2.312 kB / 448.9 MB, free: 5.414 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001482/0.001503, allocations: 0.8011 MB / 449.7 MB, free: 4.656 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.002875, allocations: 1.302 MB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.085e-05/0.002956, allocations: 0 / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.002995, allocations: 10.61 kB / 451 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.003062, allocations: 24.23 kB / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.003542, allocations: 240.5 kB / 451.3 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.003773, allocations: 257.4 kB / 451.5 MB, free: 2.844 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.003888, allocations: 46.27 kB / 451.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.004045, allocations: 160.4 kB / 451.7 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.00417, allocations: 78.36 kB / 451.8 MB, free: 2.578 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.004204, allocations: 20 kB / 451.8 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.004285, allocations: 35.98 kB / 451.8 MB, free: 2.523 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.004312, allocations: 19.94 kB / 451.9 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.004367, allocations: 57.8 kB / 451.9 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.004549, allocations: 147.5 kB / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.231e-05/0.004561, allocations: 0 / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004562, allocations: 0 / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.004575, allocations: 4 kB / 452.1 MB, free: 2.301 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.0004514/0.005026, allocations: 428 kB / 452.5 MB, free: 1.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.005055, allocations: 12.02 kB / 452.5 MB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.0051, allocations: 30.16 kB / 452.5 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.005257, allocations: 133.7 kB / 452.7 MB, free: 1.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.005279, allocations: 16.38 kB / 452.7 MB, free: 1.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.005304, allocations: 25.14 kB / 452.7 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.005417, allocations: 110 kB / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.005424, allocations: 192 / 452.8 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.005434, allocations: 7.562 kB / 452.8 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.005438, allocations: 4.375 kB / 452.8 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.005482, allocations: 35.92 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.005801, allocations: 260.4 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/0.005892, allocations: 67.8 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.005912, allocations: 24.84 kB / 453.2 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.005916, allocations: 0 / 453.2 MB, free: 1.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.006072, allocations: 124.9 kB / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.006073, allocations: 0 / 453.3 MB, free: 0.9531 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001916/0.006265, allocations: 136 kB / 453.5 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.006305, allocations: 59.34 kB / 453.5 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.006383, allocations: 147.3 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.006405, allocations: 33.7 kB / 453.7 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.006455, allocations: 105.1 kB / 453.8 MB, free: 456 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.006478, allocations: 43.67 kB / 453.8 MB, free: 412 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.006545, allocations: 72.7 kB / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.006627, allocations: 318.8 kB / 454.2 MB, free: 8 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.006719, allocations: 103.4 kB / 454.3 MB, free: 15.89 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.006822, allocations: 163.1 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.006951, allocations: 198.5 kB / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.006954, allocations: 0 / 454.7 MB, free: 15.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000221/0.007175, allocations: 306.3 kB / 455 MB, free: 15.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.007226, allocations: 72.02 kB / 455 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.007231, allocations: 0 / 455 MB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.007242, allocations: 4.594 kB / 455 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.378e-05/0.007266, allocations: 12.64 kB / 455.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.007273, allocations: 11.88 kB / 455.1 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.007433, allocations: 48.89 kB / 455.1 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.007454, allocations: 20.61 kB / 455.1 MB, free: 14.96 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 8.462e-05/0.007539, allocations: 127.8 kB / 455.3 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.007558, allocations: 21.2 kB / 455.3 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.007585, allocations: 12.72 kB / 455.3 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007588, allocations: 4 kB / 455.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.00759, allocations: 0.7188 kB / 455.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.007593, allocations: 3.938 kB / 455.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.007799, allocations: 275.6 kB / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007801, allocations: 0 / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.007813, allocations: 9.547 kB / 455.6 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.007823, allocations: 11.94 kB / 455.6 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.007825, allocations: 0.625 kB / 455.6 MB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.007832, allocations: 4 kB / 455.6 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.007834, allocations: 5.25 kB / 455.6 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007835, allocations: 0 / 455.6 MB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.00795, allocations: 206 kB / 455.8 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.007963, allocations: 3.984 kB / 455.8 MB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.236e-05/0.008006, allocations: 8.5 kB / 455.8 MB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.008039, allocations: 18.17 kB / 455.8 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.008053, allocations: 8 kB / 455.8 MB, free: 14.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.963e-05/0.008073, allocations: 26.58 kB / 455.9 MB, free: 14.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008073, allocations: 0 / 455.9 MB, free: 14.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001682/0.008241, allocations: 49 kB / 455.9 MB, free: 14.14 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 0.0001168/0.008358, allocations: 95.02 kB / 456 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.008576, allocations: 304.3 kB / 456.3 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.008581, allocations: 5.438 kB / 456.3 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.008623, allocations: 44.84 kB / 456.4 MB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.008799, allocations: 40.67 kB / 456.4 MB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.009316, allocations: 256.8 kB / 456.6 MB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.009358, allocations: 75.64 kB / 456.7 MB, free: 13.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.14e-05/0.009389, allocations: 15.14 kB / 456.7 MB, free: 13.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.009496, allocations: 87.34 kB / 456.8 MB, free: 13.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.009497, allocations: 0 / 456.8 MB, free: 13.15 MB / 442.7 MB Notification: Performance of Templates: time 0.003888/0.01338, allocations: 2.542 MB / 459.4 MB, free: 10.79 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6057801451534033]