Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.001481/0.001481, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001606/0.001606, allocations: 214.5 kB / 22.25 MB, free: 5.242 MB / 14.72 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.815/1.815, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06201/0.06201, allocations: 12.19 MB / 324.6 MB, free: 7.059 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007423/0.0007423, allocations: 27.03 kB / 384.1 MB, free: 47.57 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.66/2.66, allocations: 353.9 MB / 0.7787 GB, free: 1.625 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003447/0.003447, allocations: 119.4 kB / 1.06 GB, free: 12.6 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3474, allocations: 134.9 MB / 1.192 GB, free: 5.805 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002822/0.3502, allocations: 0.6514 MB / 1.193 GB, free: 5.156 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.3526, allocations: 1.188 MB / 1.194 GB, free: 3.957 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.3527, allocations: 4 kB / 1.194 GB, free: 3.953 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.3527, allocations: 3.938 kB / 1.194 GB, free: 3.949 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.806e-05/0.3528, allocations: 3.938 kB / 1.194 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.3536, allocations: 149.5 kB / 1.194 GB, free: 3.805 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.3539, allocations: 147.7 kB / 1.194 GB, free: 3.66 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.354, allocations: 11.97 kB / 1.194 GB, free: 3.648 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3541, allocations: 55.91 kB / 1.194 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3543, allocations: 51.8 kB / 1.194 GB, free: 3.543 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.3543, allocations: 12 kB / 1.194 GB, free: 3.531 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3544, allocations: 23.98 kB / 1.194 GB, free: 3.508 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.117e-05/0.3545, allocations: 19.92 kB / 1.194 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.3546, allocations: 51.89 kB / 1.194 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.3549, allocations: 127.6 kB / 1.195 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3549, allocations: 4 kB / 1.195 GB, free: 3.309 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3549, allocations: 0 / 1.195 GB, free: 3.309 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3549, allocations: 0 / 1.195 GB, free: 3.309 MB / 0.8263 GB 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.0008737/0.3558, allocations: 343.8 kB / 1.195 GB, free: 2.934 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.3559, allocations: 19.92 kB / 1.195 GB, free: 2.914 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.3559, allocations: 8.891 kB / 1.195 GB, free: 2.906 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.3565, allocations: 154.7 kB / 1.195 GB, free: 2.73 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.3565, allocations: 4.375 kB / 1.195 GB, free: 2.727 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.3566, allocations: 20.36 kB / 1.195 GB, free: 2.707 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.3569, allocations: 78.2 kB / 1.195 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.3569, allocations: 11.88 kB / 1.195 GB, free: 2.613 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3569, allocations: 3.984 kB / 1.195 GB, free: 2.609 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3569, allocations: 0 / 1.195 GB, free: 2.609 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.357, allocations: 39.97 kB / 1.195 GB, free: 2.57 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.3578, allocations: 272.4 kB / 1.196 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3581, allocations: 90.5 kB / 1.196 GB, free: 2.176 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3582, allocations: 36.83 kB / 1.196 GB, free: 2.137 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3582, allocations: 0 / 1.196 GB, free: 2.137 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.3586, allocations: 131.3 kB / 1.196 GB, free: 1.996 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.3586, allocations: 0 / 1.196 GB, free: 1.996 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13): time 0.0006057/0.3592, allocations: 201.5 kB / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.3593, allocations: 55.41 kB / 1.196 GB, free: 1.727 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.3594, allocations: 114 kB / 1.196 GB, free: 1.605 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.3595, allocations: 33.7 kB / 1.196 GB, free: 1.566 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.3596, allocations: 96.12 kB / 1.196 GB, free: 1.469 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.3596, allocations: 27.8 kB / 1.196 GB, free: 1.441 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3598, allocations: 45.7 kB / 1.196 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.36, allocations: 322.8 kB / 1.197 GB, free: 1.066 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3602, allocations: 73.67 kB / 1.197 GB, free: 0.9883 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.3604, allocations: 124.3 kB / 1.197 GB, free: 0.8477 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.3607, allocations: 141 kB / 1.197 GB, free: 0.6914 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.3607, allocations: 3.938 kB / 1.197 GB, free: 0.6875 MB / 0.8263 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006256/0.3614, allocations: 248.9 kB / 1.197 GB, free: 436 kB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.3614, allocations: 33.69 kB / 1.197 GB, free: 396 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3614, allocations: 4 kB / 1.197 GB, free: 392 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3615, allocations: 0 / 1.197 GB, free: 392 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.884e-05/0.3616, allocations: 11.94 kB / 1.197 GB, free: 380 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.3616, allocations: 4 kB / 1.197 GB, free: 376 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.3619, allocations: 43.98 kB / 1.197 GB, free: 332 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.3619, allocations: 11.98 kB / 1.197 GB, free: 320 kB / 0.8263 GB 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 0.0001793/0.3621, allocations: 130.4 kB / 1.197 GB, free: 180 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.3621, allocations: 11.94 kB / 1.197 GB, free: 168 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.3622, allocations: 8.438 kB / 1.197 GB, free: 156 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3622, allocations: 7.938 kB / 1.197 GB, free: 148 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3622, allocations: 0 / 1.197 GB, free: 148 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3622, allocations: 0 / 1.197 GB, free: 148 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.3628, allocations: 370.1 kB / 1.198 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3628, allocations: 4 kB / 1.198 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.3629, allocations: 7.984 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3629, allocations: 0 / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3629, allocations: 0 / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.3629, allocations: 7.938 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3629, allocations: 0 / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.3634, allocations: 271.4 kB / 1.198 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.3634, allocations: 11.89 kB / 1.198 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.3635, allocations: 4 kB / 1.198 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3636, allocations: 11.98 kB / 1.198 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.3637, allocations: 11.97 kB / 1.198 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3637, allocations: 16 kB / 1.198 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.062e-05/0.3638, allocations: 91.56 kB / 1.198 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3638, allocations: 0 / 1.198 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005057/0.3643, allocations: 35.94 kB / 1.198 GB, free: 15.27 MB / 0.8419 GB 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 0.0002338/0.3645, allocations: 107.2 kB / 1.198 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005331/0.3651, allocations: 212.9 kB / 1.199 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3651, allocations: 0 / 1.199 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3652, allocations: 54.95 kB / 1.199 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.3657, allocations: 23.92 kB / 1.199 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.3663, allocations: 190.5 kB / 1.199 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.3664, allocations: 75.33 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.171e-05/0.3665, allocations: 8.484 kB / 1.199 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.3665, allocations: 19.44 kB / 1.199 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.3665, allocations: 0 / 1.199 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.00512/0.3716, allocations: 1.792 MB / 1.201 GB, free: 12.78 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.008688807487488] Failed to read output from testmodel.py, exit status != 0: 0.38111530989408493 0.395092763 0.037193542 Calling exit ...