Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.001255/0.001255, allocations: 80.75 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.001504/0.001504, allocations: 181 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 0.9598/0.9598, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7912/0.7912, allocations: 154.6 MB / 414.8 MB, free: 496 kB / 378.7 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 179] 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.604e-05, allocations: 2.312 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001984/0.00201, allocations: 0.7787 MB / 480.8 MB, free: 6.051 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.003615, allocations: 1.202 MB / 482 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.003667, allocations: 3.938 kB / 482.1 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.003699, allocations: 3.938 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.121e-05/0.00379, allocations: 17.88 kB / 482.1 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.004265, allocations: 133.6 kB / 482.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.004517, allocations: 129.8 kB / 482.3 MB, free: 4.578 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.927e-05/0.004596, allocations: 11.98 kB / 482.3 MB, free: 4.566 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.004713, allocations: 75.56 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.004794, allocations: 39.94 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.004814, allocations: 8 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.004876, allocations: 27.98 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.004896, allocations: 11.92 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.004935, allocations: 40.88 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.005072, allocations: 99.69 kB / 482.6 MB, free: 4.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005074, allocations: 4.594 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005075, allocations: 0 / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.816e-06/0.005078, allocations: 0.6562 kB / 482.6 MB, free: 4.27 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.0003588/0.005437, allocations: 319.4 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.005468, allocations: 8.031 kB / 483 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.0055, allocations: 16.92 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.282e-05/0.005572, allocations: 113.6 kB / 483.1 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.005583, allocations: 8.312 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.005599, allocations: 8.375 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.005701, allocations: 73.17 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.005708, allocations: 192 / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.005714, allocations: 384 / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.005719, allocations: 384 / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.005743, allocations: 19.86 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.005958, allocations: 176.2 kB / 483.4 MB, free: 3.477 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.538e-05/0.005993, allocations: 23.61 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.833e-05/0.006012, allocations: 20.94 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.006024, allocations: 0 / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.042e-05/0.006095, allocations: 64.27 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.006096, allocations: 0 / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001149/0.006211, allocations: 66.48 kB / 483.5 MB, free: 3.277 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.006237, allocations: 55.41 kB / 483.6 MB, free: 3.211 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.714e-05/0.006294, allocations: 123.3 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.006308, allocations: 29.7 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.006342, allocations: 100.6 kB / 483.8 MB, free: 2.941 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.006358, allocations: 20.5 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.006397, allocations: 25.7 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.00646, allocations: 323.4 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/0.006504, allocations: 49.69 kB / 484.3 MB, free: 2.512 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.857e-05/0.006553, allocations: 76.72 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.362e-05/0.006616, allocations: 77.38 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.006618, allocations: 0 / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001157/0.006734, allocations: 157.8 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.006758, allocations: 39.47 kB / 484.6 MB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.006763, allocations: 7.875 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.006773, allocations: 0 / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.006833, allocations: 12.3 kB / 484.6 MB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.006836, allocations: 4.531 kB / 484.6 MB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.00691, allocations: 28.92 kB / 484.6 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.006925, allocations: 11.98 kB / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 5.207e-05/0.006977, allocations: 114.7 kB / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-06/0.006986, allocations: 9.938 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/0.007005, allocations: 12.36 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007007, allocations: 4 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.007008, allocations: 3.938 kB / 484.8 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.007011, allocations: 0 / 484.8 MB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.57e-05/0.007066, allocations: 82.47 kB / 484.9 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007067, allocations: 0 / 484.9 MB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.007093, allocations: 13.2 kB / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.007094, allocations: 0 / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.007099, allocations: 0 / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.0071, allocations: 0.5938 kB / 484.9 MB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.007102, allocations: 3.938 kB / 484.9 MB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.059e-05/0.007172, allocations: 83 kB / 485 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.007179, allocations: 7.953 kB / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.007188, allocations: 0 / 485 MB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.00721, allocations: 4 kB / 485 MB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.007238, allocations: 15.92 kB / 485 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.007241, allocations: 4.688 kB / 485 MB, free: 1.664 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.374e-05/0.007255, allocations: 19.59 kB / 485 MB, free: 1.645 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007255, allocations: 4.844 kB / 485 MB, free: 1.641 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000113/0.007368, allocations: 20 kB / 485.1 MB, free: 1.621 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001043/0.007472, allocations: 89.48 kB / 485.1 MB, free: 1.527 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.007593, allocations: 135 kB / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.007596, allocations: 7.938 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.007623, allocations: 17.72 kB / 485.3 MB, free: 1.348 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.053e-05/0.007713, allocations: 27.25 kB / 485.3 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.007926, allocations: 155.5 kB / 485.5 MB, free: 1.148 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.423e-05/0.00795, allocations: 55.36 kB / 485.5 MB, free: 1.074 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.007973, allocations: 15.83 kB / 485.5 MB, free: 1.062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.00805, allocations: 71.36 kB / 485.6 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008051, allocations: 0 / 485.6 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of Templates: time 0.002969/0.01102, allocations: 1.735 MB / 487.4 MB, free: 15.38 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.591433627065271]