Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001475/0.001475, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001415/0.001415, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.044/1.044, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8819/0.8819, allocations: 154.9 MB / 415.1 MB, free: 248 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.779e-05, allocations: 5.141 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001778/0.001806, allocations: 0.7738 MB / 481.2 MB, free: 5.793 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.003411, allocations: 1.209 MB / 482.4 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.003462, allocations: 2.188 kB / 482.4 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.003492, allocations: 8.531 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.003577, allocations: 12.03 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.003975, allocations: 132.5 kB / 482.5 MB, free: 4.434 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.004138, allocations: 120 kB / 482.7 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.004228, allocations: 13.97 kB / 482.7 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.004346, allocations: 69.41 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.004431, allocations: 35.45 kB / 482.8 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.004459, allocations: 12 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.51e-05/0.004544, allocations: 23.92 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.004573, allocations: 20.59 kB / 482.8 MB, free: 4.164 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.004624, allocations: 31.92 kB / 482.9 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.004794, allocations: 96.36 kB / 483 MB, free: 4.039 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004797, allocations: 0 / 483 MB, free: 4.039 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004798, allocations: 0.7188 kB / 483 MB, free: 4.039 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.004801, allocations: 0 / 483 MB, free: 4.039 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004503/0.005252, allocations: 306.1 kB / 483.3 MB, free: 3.711 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005288, allocations: 16.91 kB / 483.3 MB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.005326, allocations: 8.938 kB / 483.3 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.005414, allocations: 114.7 kB / 483.4 MB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.005433, allocations: 8.375 kB / 483.4 MB, free: 3.543 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.005455, allocations: 9.406 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.00558, allocations: 63.84 kB / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005588, allocations: 192 / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.005596, allocations: 1.344 kB / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005603, allocations: 384 / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.005636, allocations: 23.86 kB / 483.5 MB, free: 3.441 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.005969, allocations: 172.9 kB / 483.7 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.652e-05/0.006056, allocations: 41.02 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.006078, allocations: 12.98 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/0.006086, allocations: 1.406 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.876e-05/0.006184, allocations: 67.31 kB / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.006186, allocations: 0 / 483.8 MB, free: 3.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001492/0.006335, allocations: 82.64 kB / 483.9 MB, free: 3.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.006366, allocations: 51.41 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.006442, allocations: 134.6 kB / 484.1 MB, free: 2.824 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.006464, allocations: 26.2 kB / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.006503, allocations: 89.69 kB / 484.2 MB, free: 2.703 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.006524, allocations: 27.75 kB / 484.2 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.006587, allocations: 38.28 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.006678, allocations: 322.8 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.006746, allocations: 51.12 kB / 484.6 MB, free: 2.254 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.00682, allocations: 88.92 kB / 484.7 MB, free: 2.148 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.006925, allocations: 102.7 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.006928, allocations: 1.438 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001892/0.007117, allocations: 169.7 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.00715, allocations: 37.69 kB / 485 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007155, allocations: 0.875 kB / 485 MB, free: 1.801 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.007169, allocations: 3.938 kB / 485 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.007243, allocations: 13.06 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.007247, allocations: 3.984 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.007348, allocations: 28.56 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.007366, allocations: 4.562 kB / 485 MB, free: 1.75 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.323e-05/0.007449, allocations: 127 kB / 485.2 MB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.007461, allocations: 4 kB / 485.2 MB, free: 1.613 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.007486, allocations: 9.062 kB / 485.2 MB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.007491, allocations: 9.469 kB / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.007493, allocations: 0 / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.007498, allocations: 5.422 kB / 485.2 MB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.007724, allocations: 222.7 kB / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007726, allocations: 0 / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.733e-05/0.007763, allocations: 7.984 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.007765, allocations: 0.8438 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.007774, allocations: 7.938 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007776, allocations: 1.031 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007777, allocations: 0 / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.007877, allocations: 151.5 kB / 485.6 MB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.007888, allocations: 12.73 kB / 485.6 MB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.007906, allocations: 12 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.007961, allocations: 8.578 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.007992, allocations: 5.125 kB / 485.6 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.007999, allocations: 4 kB / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.019e-05/0.008019, allocations: 18.42 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008019, allocations: 4 kB / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.008236, allocations: 27.92 kB / 485.7 MB, free: 1.086 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001154/0.008352, allocations: 86.31 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.008523, allocations: 149.9 kB / 485.9 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.008527, allocations: 0 / 485.9 MB, free: 0.8281 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.692e-05/0.008563, allocations: 22.42 kB / 485.9 MB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.008752, allocations: 16.61 kB / 485.9 MB, free: 0.7891 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.009022, allocations: 158.5 kB / 486.1 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.009062, allocations: 60.47 kB / 486.1 MB, free: 0.5234 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.65e-05/0.009088, allocations: 6.406 kB / 486.2 MB, free: 0.5195 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.009181, allocations: 72.11 kB / 486.2 MB, free: 460 kB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009182, allocations: 0 / 486.2 MB, free: 460 kB / 442.7 MB Notification: Performance of Templates: time 0.003788/0.01297, allocations: 1.651 MB / 487.9 MB, free: 14.92 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7823669840581715]