Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.001724/0.001724, allocations: 82.02 kB / 19.18 MB, free: 2.363 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.00201/0.00201, allocations: 173.4 kB / 22.46 MB, free: 4.984 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.463/1.463, allocations: 177.2 MB / 202.8 MB, free: 9.191 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.199/1.199, 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.6188 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/3.038e-05, allocations: 5.781 kB / 0.6188 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001697/0.001727, allocations: 0.6839 MB / 0.6195 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002964, allocations: 0.8899 MB / 0.6203 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.00301, allocations: 4 kB / 0.6203 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.003043, allocations: 3.938 kB / 0.6204 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.00311, allocations: 3.938 kB / 0.6204 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.003288, allocations: 31.84 kB / 0.6204 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.003388, allocations: 39.91 kB / 0.6204 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.003503, allocations: 12 kB / 0.6204 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.00359, allocations: 19.98 kB / 0.6205 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.003639, allocations: 19.91 kB / 0.6205 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.003673, allocations: 4 kB / 0.6205 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.003684, allocations: 4 kB / 0.6205 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.003703, allocations: 8 kB / 0.6205 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.003733, allocations: 15.91 kB / 0.6205 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.003838, allocations: 43.88 kB / 0.6205 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003841, allocations: 4 kB / 0.6205 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003841, allocations: 0 / 0.6205 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.003846, allocations: 3.938 kB / 0.6206 GB, free: 2.688 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.0005593/0.004406, allocations: 290.2 kB / 0.6208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.004447, allocations: 8.031 kB / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.004486, allocations: 12.89 kB / 0.6209 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.004608, allocations: 109.7 kB / 0.621 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.004615, allocations: 384 / 0.621 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.004629, allocations: 384 / 0.621 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.004891, allocations: 74.22 kB / 0.621 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.004902, allocations: 192 / 0.621 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.004916, allocations: 4.359 kB / 0.621 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.004921, allocations: 4.312 kB / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.005195, allocations: 63.88 kB / 0.6211 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.005565, allocations: 212.5 kB / 0.6213 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.005766, allocations: 66.47 kB / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.005921, allocations: 36.91 kB / 0.6214 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.005954, allocations: 0 / 0.6214 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.005987, allocations: 38.56 kB / 0.6214 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.005988, allocations: 0 / 0.6214 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005482/0.006536, allocations: 137.5 kB / 0.6216 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.006588, allocations: 51.41 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006692, allocations: 117.8 kB / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.00671, allocations: 25.7 kB / 0.6218 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.006776, allocations: 80.14 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.006804, allocations: 15.91 kB / 0.6218 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.006837, allocations: 9.719 kB / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.007003, allocations: 326.8 kB / 0.6222 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.00714, allocations: 27.97 kB / 0.6222 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.007268, allocations: 35.95 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.007535, allocations: 64.73 kB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.007537, allocations: 4 kB / 0.6223 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002965/0.007834, allocations: 97.61 kB / 0.6224 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.007852, allocations: 11.94 kB / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007856, allocations: 0 / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.00787, allocations: 0 / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.007992, allocations: 15.98 kB / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.007998, allocations: 0 / 0.6224 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.008072, allocations: 11.98 kB / 0.6224 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.008081, allocations: 4 kB / 0.6224 GB, free: 0.5938 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 9.454e-05/0.008175, allocations: 115.7 kB / 0.6225 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.008204, allocations: 7.953 kB / 0.6225 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.008234, allocations: 7.938 kB / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008236, allocations: 0 / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.00824, allocations: 0 / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008243, allocations: 0 / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.00839, allocations: 113.3 kB / 0.6227 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008391, allocations: 4 kB / 0.6227 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.008486, allocations: 19.92 kB / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008488, allocations: 0 / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.008504, allocations: 7.984 kB / 0.6227 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.008508, allocations: 7.875 kB / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008508, allocations: 0 / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.00887, allocations: 191.4 kB / 0.6229 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.00888, allocations: 12.25 kB / 0.6229 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.008893, allocations: 4 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.008997, allocations: 19.91 kB / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.009041, allocations: 4 kB / 0.6229 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.009044, allocations: 0 / 0.6229 GB, free: 28 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.671e-05/0.009111, allocations: 91.27 kB / 0.623 GB, free: 15.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009111, allocations: 0 / 0.623 GB, free: 15.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002109/0.009322, allocations: 4 kB / 0.623 GB, free: 15.93 MB / 0.545 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.0001294/0.009451, allocations: 99.19 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.009793, allocations: 71.91 kB / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009795, allocations: 0 / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.009936, allocations: 35.95 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.01025, allocations: 12 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.0106, allocations: 120.7 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.01067, allocations: 67.33 kB / 0.6234 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.793e-05/0.01069, allocations: 3.938 kB / 0.6234 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.01073, allocations: 16.5 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.01073, allocations: 0 / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Templates: time 0.003387/0.01412, allocations: 0.786 MB / 0.6242 GB, free: 14.7 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.660647297278047] Failed to read output from testmodel.py, exit status != 0: 0.022419407963752747 0.036739901000000005 0.029907125000000003 Calling exit ...