Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.0009992/0.0009992, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002346, 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.00097/0.00097, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002377, 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 0.9624/0.9624, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08746/1.05, allocations: 53.66 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.8076/0.8076, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.3224/1.13, allocations: 49.12 MB / 448.6 MB, free: 5.918 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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 450 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.227e-05, allocations: 6.516 kB / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001149/0.001162, allocations: 0.7039 MB / 450.7 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.002568, allocations: 1.217 MB / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.002605, allocations: 0 / 451.9 MB, free: 2.707 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.002627, allocations: 3.938 kB / 451.9 MB, free: 2.703 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.779e-05/0.002665, allocations: 12.47 kB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.002927, allocations: 144.9 kB / 452 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.003096, allocations: 145.1 kB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.916e-05/0.003166, allocations: 8 kB / 452.2 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.003277, allocations: 91.22 kB / 452.3 MB, free: 2.336 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.003378, allocations: 44.02 kB / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.0034, allocations: 12 kB / 452.3 MB, free: 2.285 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.003469, allocations: 16.77 kB / 452.3 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.003493, allocations: 17.62 kB / 452.4 MB, free: 2.254 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.003534, allocations: 26.8 kB / 452.4 MB, free: 2.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.003661, allocations: 83.47 kB / 452.5 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.003671, allocations: 0.5 kB / 452.5 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003672, allocations: 1.281 kB / 452.5 MB, free: 2.152 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.003679, allocations: 3.938 kB / 452.5 MB, free: 2.148 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004545/0.004134, allocations: 332.8 kB / 452.8 MB, free: 1.793 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.004168, allocations: 12.03 kB / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.00421, allocations: 18.88 kB / 452.8 MB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.004347, allocations: 122.3 kB / 453 MB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.004363, allocations: 8.375 kB / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.004385, allocations: 16.36 kB / 453 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.795e-05/0.004483, allocations: 87.95 kB / 453.1 MB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.00449, allocations: 0.75 kB / 453.1 MB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.004498, allocations: 4.312 kB / 453.1 MB, free: 1.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.004505, allocations: 5 kB / 453.1 MB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.224e-05/0.004538, allocations: 23.92 kB / 453.1 MB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.004814, allocations: 201.8 kB / 453.3 MB, free: 1.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.976e-05/0.004904, allocations: 63.44 kB / 453.4 MB, free: 1.191 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.004926, allocations: 20.84 kB / 453.4 MB, free: 1.168 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.004935, allocations: 5.312 kB / 453.4 MB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.005204, allocations: 116.2 kB / 453.5 MB, free: 1.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.005206, allocations: 0.625 kB / 453.5 MB, free: 1.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001548/0.005361, allocations: 133.2 kB / 453.6 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.005389, allocations: 56.91 kB / 453.7 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.005443, allocations: 114.7 kB / 453.8 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.005462, allocations: 33.7 kB / 453.8 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.005496, allocations: 85.92 kB / 453.9 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.005518, allocations: 33.88 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.005567, allocations: 51.39 kB / 454 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.005639, allocations: 318.8 kB / 454.3 MB, free: 188 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.005691, allocations: 61.69 kB / 454.4 MB, free: 120 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.00575, allocations: 93.95 kB / 454.5 MB, free: 4 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.448e-05/0.005844, allocations: 123.7 kB / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.005846, allocations: 0 / 454.6 MB, free: 15.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001481/0.005994, allocations: 186.5 kB / 454.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.006028, allocations: 33.7 kB / 454.8 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.006033, allocations: 4.578 kB / 454.8 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.006048, allocations: 8.594 kB / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/0.006099, allocations: 15.94 kB / 454.8 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006102, allocations: 0.8438 kB / 454.8 MB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.676e-05/0.006199, allocations: 40.94 kB / 454.9 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.00621, allocations: 4.625 kB / 454.9 MB, free: 15.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 6.637e-05/0.006277, allocations: 134.5 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.00629, allocations: 13.2 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.006315, allocations: 14.69 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006317, allocations: 3.938 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006318, allocations: 0.7188 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006322, allocations: 0 / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.006485, allocations: 255.7 kB / 455.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.006487, allocations: 0 / 455.3 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.006504, allocations: 12.94 kB / 455.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.006512, allocations: 11.89 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006514, allocations: 3.938 kB / 455.3 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006522, allocations: 4.609 kB / 455.3 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.006524, allocations: 4 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006525, allocations: 1.312 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.006622, allocations: 189.5 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.006637, allocations: 7.938 kB / 455.5 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.00668, allocations: 12.48 kB / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.00671, allocations: 13.34 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.006718, allocations: 11.98 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.006732, allocations: 20.77 kB / 455.6 MB, free: 14.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006732, allocations: 0 / 455.6 MB, free: 14.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001552/0.006887, allocations: 33.06 kB / 455.6 MB, free: 14.78 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.624e-05/0.006984, allocations: 94.06 kB / 455.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.007139, allocations: 186.8 kB / 455.9 MB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.007143, allocations: 0.5938 kB / 455.9 MB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.007194, allocations: 53.45 kB / 455.9 MB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.007344, allocations: 83.22 kB / 456 MB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.007733, allocations: 187.3 kB / 456.2 MB, free: 14.13 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.007766, allocations: 63.34 kB / 456.2 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.761e-05/0.007793, allocations: 9.938 kB / 456.3 MB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.007872, allocations: 73.33 kB / 456.3 MB, free: 13.97 MB / 442.7 MB Notification: Performance of SimCode: time 6.02e-07/0.007873, allocations: 0 / 456.3 MB, free: 13.97 MB / 442.7 MB Notification: Performance of Templates: time 0.003332/0.0112, allocations: 1.875 MB / 458.2 MB, free: 12.24 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5752113815397024]