Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001984/0.001984, allocations: 74.66 kB / 19.18 MB, free: 2.371 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.002551/0.002551, allocations: 167.5 kB / 22.46 MB, free: 4.988 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.545/1.545, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.206/1.206, allocations: 154.7 MB / 413.9 MB, free: 5.176 MB / 382.1 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 178] 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 0.6188 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/3.005e-05, allocations: 5.5 kB / 0.6188 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.002019/0.002049, allocations: 0.6762 MB / 0.6195 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003294, allocations: 0.8276 MB / 0.6203 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.003336, allocations: 1.219 kB / 0.6203 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.376e-05/0.00337, allocations: 3.938 kB / 0.6203 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.003452, allocations: 11.94 kB / 0.6203 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.58e-05/0.003518, allocations: 8.766 kB / 0.6203 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.003624, allocations: 39.86 kB / 0.6203 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.00375, allocations: 19.98 kB / 0.6204 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/0.003845, allocations: 27.91 kB / 0.6204 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.003893, allocations: 19.97 kB / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.003911, allocations: 0 / 0.6204 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.482e-06/0.003918, allocations: 4 kB / 0.6204 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.003941, allocations: 11.94 kB / 0.6204 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.00397, allocations: 11.98 kB / 0.6204 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.004079, allocations: 39.88 kB / 0.6205 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.004081, allocations: 0 / 0.6205 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004082, allocations: 0 / 0.6205 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.004086, allocations: 0 / 0.6205 GB, free: 2.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005683/0.004655, allocations: 298.1 kB / 0.6208 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.004694, allocations: 8.031 kB / 0.6208 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.004732, allocations: 12.89 kB / 0.6208 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.004867, allocations: 109.8 kB / 0.6209 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.004882, allocations: 384 / 0.6209 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.004898, allocations: 384 / 0.6209 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.00517, allocations: 78.14 kB / 0.621 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.00518, allocations: 4.188 kB / 0.621 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.005192, allocations: 384 / 0.621 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005198, allocations: 384 / 0.621 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.005494, allocations: 67.86 kB / 0.621 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.005876, allocations: 208.5 kB / 0.6212 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.006096, allocations: 66.47 kB / 0.6213 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.006246, allocations: 40.91 kB / 0.6213 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.006262, allocations: 0 / 0.6213 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.006299, allocations: 34.56 kB / 0.6214 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.0063, allocations: 0 / 0.6214 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005904/0.00689, allocations: 129.5 kB / 0.6215 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.006937, allocations: 55.41 kB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.007047, allocations: 105.8 kB / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.007065, allocations: 25.7 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.007122, allocations: 96.06 kB / 0.6218 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.007149, allocations: 11.84 kB / 0.6218 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.00719, allocations: 17.72 kB / 0.6218 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.007335, allocations: 310.8 kB / 0.6221 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.007501, allocations: 43.89 kB / 0.6221 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.007629, allocations: 27.97 kB / 0.6221 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.007888, allocations: 68.78 kB / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.00789, allocations: 0 / 0.6222 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003208/0.008211, allocations: 97.62 kB / 0.6223 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.008232, allocations: 7.938 kB / 0.6223 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.008238, allocations: 0 / 0.6223 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.008255, allocations: 0 / 0.6223 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.008389, allocations: 23.91 kB / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.008394, allocations: 0 / 0.6223 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.656e-05/0.008471, allocations: 11.98 kB / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.008478, allocations: 4 kB / 0.6224 GB, free: 0.6992 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 (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 8.825e-05/0.008566, allocations: 111.7 kB / 0.6225 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.008591, allocations: 7.953 kB / 0.6225 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-05/0.008689, allocations: 11.94 kB / 0.6225 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.008693, allocations: 3.984 kB / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.008698, allocations: 4 kB / 0.6225 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.008702, allocations: 336 / 0.6225 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.008841, allocations: 105.3 kB / 0.6226 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.008843, allocations: 4 kB / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.008944, allocations: 11.98 kB / 0.6226 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008946, allocations: 4 kB / 0.6226 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.008958, allocations: 7.984 kB / 0.6226 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.008963, allocations: 7.938 kB / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.008965, allocations: 0 / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.009344, allocations: 199.4 kB / 0.6228 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.009353, allocations: 0 / 0.6228 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.009367, allocations: 4 kB / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.009468, allocations: 19.86 kB / 0.6228 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.009515, allocations: 7.984 kB / 0.6228 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.009519, allocations: 0 / 0.6228 GB, free: 140 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.009579, allocations: 87.28 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.009579, allocations: 0 / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002218/0.009801, allocations: 4 kB / 0.6229 GB, free: 48 kB / 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 (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 0.0001788/0.00998, allocations: 95.23 kB / 0.623 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.01033, allocations: 71.92 kB / 0.6231 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01033, allocations: 3.938 kB / 0.6231 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.01048, allocations: 39.91 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.0108, allocations: 8 kB / 0.6231 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.01118, allocations: 127.5 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.661e-05/0.01126, allocations: 71.34 kB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.01129, allocations: 0 / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.01132, allocations: 8.5 kB / 0.6233 GB, free: 15.58 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.01132, allocations: 0 / 0.6233 GB, free: 15.58 MB / 0.545 GB Notification: Performance of Templates: time 0.003596/0.01492, allocations: 0.7429 MB / 0.6241 GB, free: 14.86 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.836877468973398] Failed to read output from testmodel.py, exit status != 0: 0.02478105202317238 0.04016762 0.033052315 Calling exit ...