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.0007842/0.0007842, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001204/0.001989, 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.0007825/0.0007825, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002279, 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08479/1.114, 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-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.8011/0.8011, allocations: 155.3 MB / 399.3 MB, free: 15.93 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.3287/1.13, allocations: 49.13 MB / 448.4 MB, free: 6.02 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 2.716e-06/2.716e-06, allocations: 3.984 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/2.025e-05, allocations: 4.094 kB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001865/0.001885, allocations: 0.796 MB / 450.5 MB, free: 3.961 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003491, allocations: 1.3 MB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.003552, allocations: 0 / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.852e-05/0.003591, allocations: 11.86 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-05/0.003655, allocations: 25.23 kB / 451.8 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005907/0.004246, allocations: 238.3 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.004598, allocations: 258.5 kB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.004737, allocations: 46.97 kB / 452.4 MB, free: 2.113 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.004964, allocations: 155.1 kB / 452.5 MB, free: 1.965 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.005126, allocations: 79.8 kB / 452.6 MB, free: 1.887 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.005168, allocations: 22.12 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.005266, allocations: 35.98 kB / 452.7 MB, free: 1.832 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.005303, allocations: 27.86 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.365e-05/0.005377, allocations: 51.94 kB / 452.7 MB, free: 1.754 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.005609, allocations: 147.5 kB / 452.9 MB, free: 1.609 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.818e-05/0.005627, allocations: 4 kB / 452.9 MB, free: 1.605 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005629, allocations: 0.6562 kB / 452.9 MB, free: 1.605 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.005646, allocations: 0 / 452.9 MB, free: 1.605 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.0006163/0.006262, allocations: 438.8 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.006295, allocations: 8.031 kB / 453.3 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.006359, allocations: 28.91 kB / 453.3 MB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.006555, allocations: 140.9 kB / 453.5 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.006578, allocations: 16.98 kB / 453.5 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.00661, allocations: 20.38 kB / 453.5 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.006767, allocations: 107.6 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.006776, allocations: 192 / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.006788, allocations: 384 / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.006796, allocations: 4.375 kB / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.247e-05/0.006858, allocations: 42.98 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.007263, allocations: 259.8 kB / 453.9 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.007378, allocations: 70.47 kB / 454 MB, free: 424 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.687e-05/0.007404, allocations: 20.86 kB / 454 MB, free: 400 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-06/0.007409, allocations: 0.9062 kB / 454 MB, free: 400 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.007946, allocations: 118.2 kB / 454.1 MB, free: 272 kB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/0.007949, allocations: 6.094 kB / 454.1 MB, free: 268 kB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002228/0.008172, allocations: 133.5 kB / 454.3 MB, free: 128 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.008215, allocations: 59.34 kB / 454.3 MB, free: 56 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.008333, allocations: 151 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.008362, allocations: 34.2 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.008419, allocations: 105.8 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.008459, allocations: 47.66 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.143e-05/0.00855, allocations: 65.64 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.008638, allocations: 318.8 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.008743, allocations: 108 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.008867, allocations: 171 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.009035, allocations: 200.5 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.009038, allocations: 0 / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000299/0.009337, allocations: 300.8 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.009398, allocations: 67.39 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.009405, allocations: 5.062 kB / 455.9 MB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.009419, allocations: 4 kB / 455.9 MB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.009447, allocations: 11.94 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009453, allocations: 4.719 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.009675, allocations: 52.69 kB / 455.9 MB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.009701, allocations: 12.59 kB / 455.9 MB, free: 14.27 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 9.885e-05/0.0098, allocations: 131.2 kB / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.009826, allocations: 19.98 kB / 456.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.009858, allocations: 13.55 kB / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.00986, allocations: 0 / 456.1 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.009864, allocations: 9.438 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.009869, allocations: 3.938 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.01012, allocations: 270.7 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01012, allocations: 0 / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-05/0.01014, allocations: 10.66 kB / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.01015, allocations: 7.953 kB / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01015, allocations: 0.6562 kB / 456.4 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.01016, allocations: 3.984 kB / 456.4 MB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01016, allocations: 8.781 kB / 456.4 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01016, allocations: 0 / 456.4 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.01032, allocations: 212 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.01033, allocations: 0 / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.447e-05/0.0104, allocations: 12.89 kB / 456.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.01043, allocations: 11.92 kB / 456.6 MB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.01045, allocations: 13.17 kB / 456.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.805e-05/0.01048, allocations: 17.8 kB / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01048, allocations: 0 / 456.7 MB, free: 13.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.01075, allocations: 51.94 kB / 456.7 MB, free: 13.45 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.0001381/0.01089, allocations: 94.81 kB / 456.8 MB, free: 13.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.01118, allocations: 300.6 kB / 457.1 MB, free: 13.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.01119, allocations: 4 kB / 457.1 MB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.01125, allocations: 51.7 kB / 457.2 MB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.01148, allocations: 41.88 kB / 457.2 MB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.01213, allocations: 260.4 kB / 457.5 MB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.0123, allocations: 68.56 kB / 457.5 MB, free: 12.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.502e-05/0.01234, allocations: 15.11 kB / 457.5 MB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01247, allocations: 87.34 kB / 457.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01247, allocations: 0 / 457.6 MB, free: 12.46 MB / 442.7 MB Notification: Performance of Templates: time 0.005435/0.01791, allocations: 2.537 MB / 460.2 MB, free: 10.11 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.6414210069924593]