Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.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.001473/0.001473, allocations: 80.77 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.001607/0.001607, allocations: 163.3 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.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.202/1.202, allocations: 154.6 MB / 413.7 MB, free: 5.305 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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.6186 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/3.997e-05, allocations: 3.031 kB / 0.6186 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001789/0.001829, allocations: 0.6613 MB / 0.6192 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003069, allocations: 0.8198 MB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.003105, allocations: 3.938 kB / 0.62 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.003129, allocations: 3.938 kB / 0.62 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.003196, allocations: 4.688 kB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.431e-05/0.003261, allocations: 8 kB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.828e-05/0.003339, allocations: 27.92 kB / 0.6201 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.003448, allocations: 4 kB / 0.6201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.003527, allocations: 11.98 kB / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/0.003563, allocations: 11.92 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.003584, allocations: 4 kB / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.003593, allocations: 4 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.003609, allocations: 0 / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.003633, allocations: 4 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.036e-05/0.003723, allocations: 31.88 kB / 0.6201 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.003726, allocations: 4 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.003727, allocations: 4 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.003732, allocations: 0 / 0.6201 GB, free: 3.012 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004841/0.004216, allocations: 258.3 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.004261, allocations: 13.47 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.004289, allocations: 4.891 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.004424, allocations: 109.7 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.004438, allocations: 384 / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.004451, allocations: 384 / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.004637, allocations: 54.17 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.004647, allocations: 4.188 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.004656, allocations: 384 / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.004659, allocations: 384 / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.004832, allocations: 39.89 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.00521, allocations: 188.6 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.005369, allocations: 42.66 kB / 0.6208 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.005472, allocations: 28.78 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.005488, allocations: 4 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.005522, allocations: 30.56 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.005524, allocations: 0 / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003765/0.0059, allocations: 89.53 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.005945, allocations: 51.41 kB / 0.621 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/0.006039, allocations: 105.8 kB / 0.6211 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.006054, allocations: 25.7 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.006105, allocations: 84.27 kB / 0.6212 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.006124, allocations: 3.953 kB / 0.6212 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.006161, allocations: 17.72 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.006304, allocations: 314.8 kB / 0.6216 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.006388, allocations: 23.92 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.006458, allocations: 11.98 kB / 0.6216 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.006611, allocations: 44.83 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.006613, allocations: 0 / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.006816, allocations: 73.59 kB / 0.6217 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.006829, allocations: 4 kB / 0.6217 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.006835, allocations: 3.938 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.006849, allocations: 0 / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.006939, allocations: 11.98 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.006944, allocations: 0 / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.006993, allocations: 12.02 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.006998, allocations: 3.938 kB / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 7.674e-05/0.007075, allocations: 106.8 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.007098, allocations: 4 kB / 0.6218 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.007126, allocations: 15.45 kB / 0.6219 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.007127, allocations: 0 / 0.6219 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.007132, allocations: 4 kB / 0.6219 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.007135, allocations: 0 / 0.6219 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.007271, allocations: 109.3 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007272, allocations: 4 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-05/0.007329, allocations: 11.98 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.00733, allocations: 0 / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.007338, allocations: 0 / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.007343, allocations: 3.938 kB / 0.622 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.007346, allocations: 4 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.007599, allocations: 155.5 kB / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.007605, allocations: 0 / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.007616, allocations: 0 / 0.6221 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.007692, allocations: 15.91 kB / 0.6221 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.007744, allocations: 11.97 kB / 0.6222 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.007747, allocations: 4 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.561e-05/0.007793, allocations: 79.28 kB / 0.6222 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.007793, allocations: 0 / 0.6222 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002084/0.008001, allocations: 4 kB / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001338/0.008135, allocations: 95.23 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.00835, allocations: 43.97 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.008351, allocations: 0 / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.008437, allocations: 15.98 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.00876, allocations: 15.97 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.009107, allocations: 112 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.217e-05/0.009189, allocations: 63.28 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.009214, allocations: 0 / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.009249, allocations: 20.56 kB / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.00925, allocations: 0 / 0.6226 GB, free: 220 kB / 0.5294 GB Notification: Performance of Templates: time 0.002967/0.01222, allocations: 460.5 kB / 0.623 GB, free: 15.77 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.755948502570391] Failed to read output from testmodel.py, exit status != 0: 0.020832426846027374 0.036235625 0.029318762 Calling exit ...