Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001334/0.001334, allocations: 79.67 kB / 19.18 MB, free: 2.516 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.002337/0.002337, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.529/1.529, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.239/1.239, allocations: 154.5 MB / 413.7 MB, free: 5.285 MB / 382.1 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 178] 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.909e-05, allocations: 2.781 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001783/0.001812, allocations: 0.7089 MB / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.003808, allocations: 1.277 MB / 0.6205 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.003864, allocations: 4 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.003896, allocations: 11.81 kB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.003981, allocations: 15.86 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007463/0.004728, allocations: 249.2 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000345/0.005073, allocations: 255.5 kB / 0.621 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.005186, allocations: 20.22 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.005383, allocations: 147.8 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.005552, allocations: 67.88 kB / 0.6212 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.005609, allocations: 24 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.005709, allocations: 47.91 kB / 0.6213 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.005748, allocations: 23.97 kB / 0.6213 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.005866, allocations: 75.86 kB / 0.6214 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.006223, allocations: 271.3 kB / 0.6216 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.006225, allocations: 0 / 0.6216 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.006226, allocations: 0 / 0.6216 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.00623, allocations: 0 / 0.6216 GB, free: 1.461 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.0007843/0.007014, allocations: 429.3 kB / 0.622 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.007058, allocations: 9.469 kB / 0.622 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.546e-05/0.007144, allocations: 20.89 kB / 0.6221 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006169/0.007761, allocations: 185.8 kB / 0.6222 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.007797, allocations: 20.3 kB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.007845, allocations: 20.38 kB / 0.6223 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.008117, allocations: 139.8 kB / 0.6224 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.008129, allocations: 192 / 0.6224 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.00815, allocations: 4.375 kB / 0.6224 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.00816, allocations: 4.125 kB / 0.6224 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.008303, allocations: 59.95 kB / 0.6225 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.00912, allocations: 428.4 kB / 0.6229 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/0.00944, allocations: 137.2 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.009539, allocations: 53.69 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.009561, allocations: 4 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.009988, allocations: 218.3 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.00999, allocations: 3.938 kB / 0.6233 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006412/0.01063, allocations: 315.7 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.454e-05/0.01071, allocations: 89.23 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.01084, allocations: 134.1 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.01089, allocations: 33.7 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/0.01099, allocations: 100.6 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.01105, allocations: 51.62 kB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.01119, allocations: 73.67 kB / 0.624 GB, free: 14.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.01135, allocations: 326.8 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.0116, allocations: 151.6 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.01188, allocations: 216.8 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.01222, allocations: 253.4 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01222, allocations: 0 / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006674/0.01289, allocations: 416.1 kB / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/0.01295, allocations: 67.33 kB / 0.6254 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.01296, allocations: 4.219 kB / 0.6254 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01298, allocations: 8 kB / 0.6254 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/0.01308, allocations: 16.31 kB / 0.6254 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.01309, allocations: 12.05 kB / 0.6255 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.01349, allocations: 67.77 kB / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.01353, allocations: 19.98 kB / 0.6255 GB, free: 13.11 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.0001629/0.01369, allocations: 148.7 kB / 0.6257 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.01372, allocations: 23.83 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.01377, allocations: 16.44 kB / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01378, allocations: 0 / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01378, allocations: 0 / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.01379, allocations: 4 kB / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.01446, allocations: 0.552 MB / 0.6263 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01446, allocations: 0 / 0.6263 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.01451, allocations: 11.94 kB / 0.6263 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01451, allocations: 0 / 0.6263 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.01453, allocations: 15.98 kB / 0.6263 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.01454, allocations: 4 kB / 0.6263 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01454, allocations: 4 kB / 0.6263 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.01504, allocations: 431.1 kB / 0.6267 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.01505, allocations: 7.953 kB / 0.6267 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.01509, allocations: 11.98 kB / 0.6267 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.01524, allocations: 7.984 kB / 0.6267 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.716e-05/0.01531, allocations: 27.89 kB / 0.6268 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.01534, allocations: 16 kB / 0.6268 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.627e-05/0.0154, allocations: 94.14 kB / 0.6269 GB, free: 11.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.0154, allocations: 4 kB / 0.6269 GB, free: 11.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003872/0.01579, allocations: 71.81 kB / 0.6269 GB, free: 11.61 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.0001969/0.01599, allocations: 107.9 kB / 0.627 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005715/0.01656, allocations: 377.9 kB / 0.6274 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01656, allocations: 0 / 0.6274 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.01673, allocations: 87.89 kB / 0.6275 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.01714, allocations: 38.95 kB / 0.6275 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.01775, allocations: 271.6 kB / 0.6278 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.01787, allocations: 96.92 kB / 0.6279 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.086e-05/0.01793, allocations: 17.48 kB / 0.6279 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.01799, allocations: 24.48 kB / 0.6279 GB, free: 10.52 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.01799, allocations: 0 / 0.6279 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Templates: time 0.007221/0.02521, allocations: 2.885 MB / 0.6307 GB, free: 7.707 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.921436782926321] Failed to read output from testmodel.py, exit status != 0: 0.03334980830550194 0.048368542 0.039034084000000004 Calling exit ...