Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.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.001751/0.001751, allocations: 81.86 kB / 19.18 MB, free: 2.527 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.002127/0.002127, allocations: 173.7 kB / 22.46 MB, free: 5.359 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.408/1.408, allocations: 177.2 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.154/1.154, allocations: 154.7 MB / 413.9 MB, free: 5.164 MB / 382.1 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 178] 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.367e-05, allocations: 3.312 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001645/0.001669, allocations: 0.6998 MB / 0.6194 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.003402, allocations: 1.284 MB / 0.6207 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.003452, allocations: 0 / 0.6207 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.003484, allocations: 7.938 kB / 0.6207 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.213e-05/0.003576, allocations: 27.78 kB / 0.6207 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006666/0.004242, allocations: 241.8 kB / 0.621 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.004544, allocations: 255.5 kB / 0.6212 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/0.004639, allocations: 20.2 kB / 0.6212 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.004826, allocations: 135.8 kB / 0.6214 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.004978, allocations: 91.78 kB / 0.6214 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.005021, allocations: 20 kB / 0.6215 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.005099, allocations: 32 kB / 0.6215 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.652e-05/0.005136, allocations: 27.95 kB / 0.6215 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.005252, allocations: 79.86 kB / 0.6216 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.005569, allocations: 271.3 kB / 0.6219 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005571, allocations: 0 / 0.6219 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005572, allocations: 0 / 0.6219 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.005576, allocations: 0 / 0.6219 GB, free: 1.375 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007163/0.006292, allocations: 425.3 kB / 0.6223 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.006327, allocations: 12.03 kB / 0.6223 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.006401, allocations: 20.89 kB / 0.6223 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005866/0.006988, allocations: 197.7 kB / 0.6225 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.007014, allocations: 16.31 kB / 0.6225 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.007062, allocations: 20.36 kB / 0.6225 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.007308, allocations: 135.8 kB / 0.6226 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.007318, allocations: 192 / 0.6226 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.007336, allocations: 8.359 kB / 0.6226 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007344, allocations: 8.125 kB / 0.6227 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.007484, allocations: 55.95 kB / 0.6227 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.008253, allocations: 432.4 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.008527, allocations: 129.2 kB / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.008622, allocations: 57.69 kB / 0.6233 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.008632, allocations: 4 kB / 0.6233 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000391/0.009023, allocations: 218.8 kB / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.009025, allocations: 0 / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0005738/0.009599, allocations: 309.4 kB / 0.6238 GB, free: 15.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.009667, allocations: 89.11 kB / 0.6239 GB, free: 15.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.009773, allocations: 124.4 kB / 0.624 GB, free: 14.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.009823, allocations: 45.7 kB / 0.6241 GB, free: 14.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.0099, allocations: 96.73 kB / 0.6241 GB, free: 14.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.009954, allocations: 55.62 kB / 0.6242 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.01008, allocations: 73.67 kB / 0.6243 GB, free: 14.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.01023, allocations: 330.8 kB / 0.6246 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.01045, allocations: 147.6 kB / 0.6247 GB, free: 14.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.01071, allocations: 212.8 kB / 0.6249 GB, free: 13.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.01104, allocations: 243.4 kB / 0.6252 GB, free: 13.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01104, allocations: 0 / 0.6252 GB, free: 13.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006586/0.0117, allocations: 434.1 kB / 0.6256 GB, free: 13.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/0.01176, allocations: 67.34 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01176, allocations: 0 / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01178, allocations: 4.219 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.515e-05/0.01188, allocations: 27.92 kB / 0.6257 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.01189, allocations: 7.938 kB / 0.6257 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.01223, allocations: 67.81 kB / 0.6257 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.01227, allocations: 20 kB / 0.6258 GB, free: 13.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001475/0.01241, allocations: 145.6 kB / 0.6259 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.01244, allocations: 15.91 kB / 0.6259 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.66e-05/0.01249, allocations: 20.42 kB / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01249, allocations: 4 kB / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.0125, allocations: 0 / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.0125, allocations: 0 / 0.6259 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.01312, allocations: 0.5403 MB / 0.6265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.01312, allocations: 4 kB / 0.6265 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.01317, allocations: 15.92 kB / 0.6265 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.01317, allocations: 7.984 kB / 0.6265 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.01319, allocations: 4 kB / 0.6265 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.0132, allocations: 11.98 kB / 0.6265 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0132, allocations: 0 / 0.6265 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.01366, allocations: 430.5 kB / 0.6269 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.01368, allocations: 11.94 kB / 0.6269 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.01371, allocations: 8 kB / 0.6269 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.01385, allocations: 11.98 kB / 0.627 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.01392, allocations: 27.95 kB / 0.627 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.01394, allocations: 11.98 kB / 0.627 GB, free: 11.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.01401, allocations: 97.89 kB / 0.6271 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01401, allocations: 0 / 0.6271 GB, free: 11.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003597/0.01437, allocations: 71.81 kB / 0.6272 GB, free: 11.54 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * 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.0001805/0.01455, allocations: 107.9 kB / 0.6273 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005785/0.01513, allocations: 386 kB / 0.6276 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.01513, allocations: 4 kB / 0.6276 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.01529, allocations: 79.89 kB / 0.6277 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.01569, allocations: 39.3 kB / 0.6277 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.01626, allocations: 276.6 kB / 0.628 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.01637, allocations: 92.95 kB / 0.6281 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.417e-05/0.01643, allocations: 17.48 kB / 0.6281 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.01647, allocations: 24.44 kB / 0.6281 GB, free: 10.44 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.01648, allocations: 0 / 0.6281 GB, free: 10.44 MB / 0.545 GB Notification: Performance of Templates: time 0.00685/0.02332, allocations: 2.898 MB / 0.631 GB, free: 7.621 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.71505487896502] Failed to read output from testmodel.py, exit status != 0: 0.03202920965850353 0.047091678000000005 0.038452423 Calling exit ...