Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001131/0.001131, allocations: 93.06 kB / 19.65 MB, free: 280 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.001214/0.001214, allocations: 173 kB / 23.02 MB, free: 1.547 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.9797/0.9797, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7978/0.7978, allocations: 154.9 MB / 414.8 MB, free: 396 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 179] 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 0.5208 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.342e-05, allocations: 3.656 kB / 0.5208 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001698/0.001732, allocations: 0.6921 MB / 0.5214 GB, free: 1.062 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000923/0.002655, allocations: 0.8523 MB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.002694, allocations: 0 / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.002732, allocations: 4.5 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.582e-05/0.002808, allocations: 9.156 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.495e-05/0.002873, allocations: 11.98 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.002951, allocations: 43.84 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.003056, allocations: 8.625 kB / 0.5223 GB, free: 128 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.003141, allocations: 23.92 kB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.003181, allocations: 17.78 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.003202, allocations: 4 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.003209, allocations: 4 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.003228, allocations: 11.92 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.003253, allocations: 11.98 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.299e-05/0.003336, allocations: 29.56 kB / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003338, allocations: 0 / 0.5224 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003339, allocations: 3.938 kB / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.003344, allocations: 0 / 0.5224 GB, free: 24 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003983/0.003743, allocations: 381.9 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.003785, allocations: 8.031 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.003827, allocations: 8.891 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.003932, allocations: 113.1 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.003948, allocations: 1.125 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.003965, allocations: 8.359 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.00416, allocations: 64.41 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.00417, allocations: 192 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.004183, allocations: 384 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.004194, allocations: 384 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.004248, allocations: 21.27 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.004589, allocations: 267.7 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.616e-05/0.004675, allocations: 31.06 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.004706, allocations: 23.3 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.004715, allocations: 0 / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.004737, allocations: 33.39 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.004738, allocations: 4 kB / 0.5234 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001536/0.004892, allocations: 53.56 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.004924, allocations: 51.41 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.443e-05/0.005009, allocations: 166.2 kB / 0.5236 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.005019, allocations: 25.7 kB / 0.5236 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.005071, allocations: 138.8 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.00509, allocations: 4.516 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.005123, allocations: 19.94 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.005277, allocations: 0.4884 MB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.005303, allocations: 4.969 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.005319, allocations: 0 / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.286e-05/0.005372, allocations: 25.09 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005374, allocations: 0 / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001014/0.005476, allocations: 49.64 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.00549, allocations: 7.938 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.005496, allocations: 0.7812 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.005512, allocations: 4 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.005604, allocations: 12.89 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.00561, allocations: 8 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.005635, allocations: 5.656 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.005641, allocations: 0 / 0.5244 GB, free: 13.83 MB / 0.4948 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 (3): * Single equations (assignments): 3 * 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.314e-05/0.005714, allocations: 160.6 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.005729, allocations: 4 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.005752, allocations: 12.62 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.005754, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.005758, allocations: 2.703 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.00576, allocations: 0 / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.607e-05/0.005856, allocations: 124.6 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005858, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.005888, allocations: 11.98 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.005893, allocations: 3.984 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.0059, allocations: 2.75 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.005902, allocations: 3.938 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.005903, allocations: 0 / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.006022, allocations: 195.9 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-06/0.006028, allocations: 3.938 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.006037, allocations: 0 / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.694e-05/0.006074, allocations: 15.92 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.006112, allocations: 5.281 kB / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006114, allocations: 0 / 0.5249 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.006153, allocations: 131.2 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006153, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001352/0.006288, allocations: 12.88 kB / 0.5251 GB, free: 13.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.734e-05/0.006385, allocations: 92.19 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.006486, allocations: 19.67 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006488, allocations: 0.6562 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.006513, allocations: 20.75 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.006719, allocations: 4 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.007012, allocations: 139.3 kB / 0.5253 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.858e-05/0.007051, allocations: 55.36 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.007072, allocations: 3.984 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.007104, allocations: 15.62 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of SimCode: time 6.02e-07/0.007105, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.002567/0.009672, allocations: 0.7729 MB / 0.5261 GB, free: 11.95 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7061616759747267]