Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001873/0.001873, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002148/0.002148, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 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-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 1.338/1.338, allocations: 154.8 MB / 414.4 MB, free: 404 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 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.5199 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.226e-05/3.455e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002197/0.002231, allocations: 0.7776 MB / 0.5207 GB, free: 1.441 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.004284, allocations: 1.174 MB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.004359, allocations: 1.781 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.004391, allocations: 3.938 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.00451, allocations: 23.8 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.00513, allocations: 129.3 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.00541, allocations: 131.8 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.005493, allocations: 11.91 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.005666, allocations: 73.41 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.005784, allocations: 47.86 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.528e-05/0.00584, allocations: 12 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.498e-05/0.005925, allocations: 16 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.25e-05/0.005957, allocations: 16.73 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.128e-05/0.006038, allocations: 39.89 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.006334, allocations: 141 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.006338, allocations: 0 / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006339, allocations: 0 / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.006345, allocations: 0 / 0.5224 GB, free: 15.62 MB / 0.4948 GB 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.0007792/0.007125, allocations: 443 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.00717, allocations: 12.03 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.007242, allocations: 8.891 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.007387, allocations: 121.3 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.007402, allocations: 384 / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.007434, allocations: 15.53 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.007657, allocations: 74.14 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.007665, allocations: 192 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.007675, allocations: 384 / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.007682, allocations: 4.375 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.007888, allocations: 47.91 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.008433, allocations: 316.2 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.008594, allocations: 51.52 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.008723, allocations: 40.44 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.008749, allocations: 0.7188 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.008983, allocations: 90.44 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.008984, allocations: 0 / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004973/0.009482, allocations: 138.5 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.009538, allocations: 55.39 kB / 0.5238 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.009723, allocations: 185.9 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.009755, allocations: 27.02 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.009867, allocations: 146.9 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.009888, allocations: 7.906 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.009987, allocations: 44.61 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002969/0.01028, allocations: 0.4961 MB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.01049, allocations: 81.92 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.01074, allocations: 125.6 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.01104, allocations: 141.9 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01104, allocations: 2.875 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005201/0.01156, allocations: 240.9 kB / 0.5252 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.01163, allocations: 37.69 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01163, allocations: 0 / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01165, allocations: 0 / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.01175, allocations: 10.75 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.01176, allocations: 4 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.01194, allocations: 31.92 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.01196, allocations: 7.984 kB / 0.5253 GB, free: 12.41 MB / 0.4948 GB 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 0.0001562/0.01212, allocations: 176.5 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.01214, allocations: 8.719 kB / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.01218, allocations: 8.438 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01218, allocations: 1.062 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.01218, allocations: 4 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01219, allocations: 0 / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.01236, allocations: 141.4 kB / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.01236, allocations: 0 / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.01243, allocations: 13.55 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01244, allocations: 3.984 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.01245, allocations: 7.938 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01246, allocations: 0 / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01246, allocations: 2.438 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.0128, allocations: 136.3 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.01282, allocations: 11.95 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.01283, allocations: 3.938 kB / 0.5258 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.01289, allocations: 7.984 kB / 0.5258 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.01294, allocations: 14.67 kB / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.01295, allocations: 0 / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001089/0.01306, allocations: 146.3 kB / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01306, allocations: 0 / 0.526 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002193/0.01328, allocations: 20 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB 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.0002151/0.01349, allocations: 107.3 kB / 0.5261 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004692/0.01396, allocations: 218.6 kB / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01396, allocations: 0 / 0.5263 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.01411, allocations: 50.45 kB / 0.5264 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01433, allocations: 18.02 kB / 0.5264 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.01482, allocations: 181.9 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.616e-05/0.01491, allocations: 78.89 kB / 0.5266 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.796e-05/0.01495, allocations: 4 kB / 0.5266 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.01499, allocations: 12.5 kB / 0.5266 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01499, allocations: 0 / 0.5266 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.005508/0.02049, allocations: 1.713 MB / 0.5283 GB, free: 9.316 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0916679369984195]