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.0009045/0.0009045, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009547/0.0009547, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.9463/0.9463, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.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.8173/0.8173, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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. " [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 2.294e-06/2.294e-06, allocations: 0.6562 kB / 480 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.065e-05, allocations: 2.844 kB / 480 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002187/0.002217, allocations: 0.7614 MB / 480.8 MB, free: 6.148 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.004142, allocations: 1.301 MB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.004236, allocations: 0 / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.839e-05/0.004285, allocations: 8.859 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.004396, allocations: 24.23 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.005174, allocations: 252.8 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.005549, allocations: 257 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.005698, allocations: 41.19 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.005948, allocations: 150.1 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.006121, allocations: 85 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.006165, allocations: 20 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.006255, allocations: 33 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.006299, allocations: 31.89 kB / 483 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.999e-05/0.006389, allocations: 80.55 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002912/0.00668, allocations: 187.4 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.006685, allocations: 1 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.006686, allocations: 0 / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.006692, allocations: 0 / 483.2 MB, free: 3.727 MB / 442.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.0005529/0.007245, allocations: 395.8 kB / 483.6 MB, free: 3.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.00729, allocations: 12.03 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/0.007361, allocations: 25.75 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.007579, allocations: 149.5 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.007602, allocations: 13.09 kB / 483.8 MB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.007646, allocations: 20.36 kB / 483.8 MB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.007809, allocations: 107.2 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.007817, allocations: 192 / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.00783, allocations: 4.375 kB / 483.9 MB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.007839, allocations: 7.484 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.0079, allocations: 39.91 kB / 484 MB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.00836, allocations: 267.8 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.008479, allocations: 58.55 kB / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.008515, allocations: 25.72 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.008519, allocations: 0 / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.008694, allocations: 118.7 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.504e-06/0.008697, allocations: 5.188 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002463/0.008943, allocations: 137.5 kB / 484.6 MB, free: 2.273 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.008989, allocations: 55.41 kB / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.009095, allocations: 151.5 kB / 484.8 MB, free: 2.047 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.009126, allocations: 37.7 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.009192, allocations: 108.5 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.009219, allocations: 36.56 kB / 485 MB, free: 1.859 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.009318, allocations: 69.64 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.009409, allocations: 323.6 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.00952, allocations: 99.23 kB / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.009655, allocations: 167.7 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.009837, allocations: 196.2 kB / 485.8 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.00984, allocations: 4.562 kB / 485.8 MB, free: 0.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003219/0.01016, allocations: 291.4 kB / 486.1 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.01022, allocations: 67.39 kB / 486.1 MB, free: 0.5273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01022, allocations: 4 kB / 486.1 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.01024, allocations: 4 kB / 486.2 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-05/0.01027, allocations: 15.92 kB / 486.2 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01027, allocations: 0.5312 kB / 486.2 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.01051, allocations: 49.89 kB / 486.2 MB, free: 468 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.01054, allocations: 15.98 kB / 486.2 MB, free: 452 kB / 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 0.0001098/0.01065, allocations: 135.6 kB / 486.4 MB, free: 308 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.01068, allocations: 19.98 kB / 486.4 MB, free: 288 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.01072, allocations: 8.781 kB / 486.4 MB, free: 276 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.01072, allocations: 4 kB / 486.4 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.01072, allocations: 0.7188 kB / 486.4 MB, free: 272 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.01073, allocations: 7.922 kB / 486.4 MB, free: 264 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.01104, allocations: 275.7 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01104, allocations: 0 / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.01105, allocations: 3.984 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01106, allocations: 0.7188 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.01107, allocations: 4 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.01107, allocations: 1.906 kB / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01107, allocations: 0 / 486.7 MB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.01125, allocations: 209.6 kB / 486.9 MB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.01127, allocations: 11.91 kB / 486.9 MB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.01129, allocations: 7.922 kB / 486.9 MB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.01136, allocations: 8.75 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.01139, allocations: 15.91 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.01141, allocations: 12.78 kB / 486.9 MB, free: 15.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.01144, allocations: 24.83 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01144, allocations: 1.219 kB / 487 MB, free: 15.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.01179, allocations: 47.92 kB / 487 MB, free: 15.61 MB / 458.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.0001553/0.01195, allocations: 85.42 kB / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.01225, allocations: 303.9 kB / 487.4 MB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.01226, allocations: 4.875 kB / 487.4 MB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.01232, allocations: 52.72 kB / 487.5 MB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01257, allocations: 25.94 kB / 487.5 MB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.01299, allocations: 247.7 kB / 487.7 MB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.057e-05/0.01304, allocations: 72.31 kB / 487.8 MB, free: 14.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.623e-05/0.01309, allocations: 10.58 kB / 487.8 MB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.01324, allocations: 91.34 kB / 487.9 MB, free: 14.65 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01324, allocations: 0.5 kB / 487.9 MB, free: 14.65 MB / 458.7 MB Notification: Performance of Templates: time 0.006123/0.01936, allocations: 2.47 MB / 490.4 MB, free: 12.36 MB / 458.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.5994427730329335]