Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.001293/0.001293, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001493/0.001493, allocations: 173 kB / 23.36 MB, free: 1.133 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8171/0.8171, allocations: 154.9 MB / 415.1 MB, free: 244 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0.5469 kB / 480.5 MB, free: 6.484 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.58e-05, allocations: 7.297 kB / 480.5 MB, free: 6.48 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002769/0.002795, allocations: 0.7425 MB / 481.2 MB, free: 5.773 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004095, allocations: 0.8525 MB / 482.1 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.004138, allocations: 3.938 kB / 482.1 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.004174, allocations: 3.984 kB / 482.1 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.004265, allocations: 6.453 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.877e-05/0.004344, allocations: 16.75 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.984e-05/0.004443, allocations: 39.09 kB / 482.1 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.004543, allocations: 11.98 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004658, allocations: 26.58 kB / 482.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.004716, allocations: 14.86 kB / 482.2 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.004737, allocations: 4 kB / 482.2 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.956e-06/0.004746, allocations: 5.875 kB / 482.2 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.004768, allocations: 9.406 kB / 482.2 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.004796, allocations: 14.08 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.978e-05/0.004896, allocations: 34.64 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.004901, allocations: 0 / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.004902, allocations: 0.625 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.004906, allocations: 0 / 482.2 MB, free: 4.75 MB / 442.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.0003912/0.005298, allocations: 252.6 kB / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.005341, allocations: 8.594 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.005375, allocations: 9.438 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.00548, allocations: 118.3 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.005492, allocations: 1.188 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.005501, allocations: 4.375 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.00567, allocations: 68.7 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.005679, allocations: 192 / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.005686, allocations: 384 / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.005693, allocations: 2.609 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.005728, allocations: 12.59 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.006009, allocations: 152.2 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.006078, allocations: 23.58 kB / 482.9 MB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.0061, allocations: 4.859 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.006111, allocations: 4.688 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.006138, allocations: 31.47 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.006139, allocations: 0 / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001475/0.006287, allocations: 51.19 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.006321, allocations: 56.59 kB / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.022e-05/0.006401, allocations: 114.7 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.006415, allocations: 25.7 kB / 483.2 MB, free: 3.711 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.006455, allocations: 88.69 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.006477, allocations: 8.906 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.006519, allocations: 13.72 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.006618, allocations: 326.8 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.006636, allocations: 5.141 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/0.006651, allocations: 4 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.463e-05/0.006686, allocations: 13.83 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006688, allocations: 1.938 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.941e-05/0.006768, allocations: 41.69 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.006785, allocations: 4 kB / 483.7 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.00679, allocations: 0 / 483.7 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.006805, allocations: 3.938 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.006901, allocations: 13.08 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006904, allocations: 0 / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.006942, allocations: 8.516 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.006948, allocations: 0 / 483.7 MB, free: 3.168 MB / 442.7 MB 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 6.73e-05/0.007015, allocations: 110.8 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.00704, allocations: 0 / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.007068, allocations: 13.95 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.007072, allocations: 3.938 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.007073, allocations: 0.9062 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007076, allocations: 0 / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.00721, allocations: 78.5 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.007212, allocations: 3.938 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.047e-05/0.007273, allocations: 12.61 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007275, allocations: 0.625 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.007281, allocations: 0 / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007283, allocations: 0.5938 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.007285, allocations: 0 / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.007422, allocations: 148.9 kB / 484.1 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.007434, allocations: 11.89 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007445, allocations: 0.6562 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.007524, allocations: 8.922 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.007572, allocations: 3.984 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.007581, allocations: 7.938 kB / 484.1 MB, free: 2.734 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.828e-05/0.007609, allocations: 18.38 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007609, allocations: 0 / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002009/0.00781, allocations: 8 kB / 484.1 MB, free: 2.707 MB / 442.7 MB 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.0001292/0.007939, allocations: 77.89 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.854e-05/0.008028, allocations: 21.72 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.008031, allocations: 1.219 kB / 484.2 MB, free: 2.602 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.008057, allocations: 8.859 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.008274, allocations: 17.09 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.008586, allocations: 123.6 kB / 484.4 MB, free: 2.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.008629, allocations: 63.28 kB / 484.4 MB, free: 2.348 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.317e-05/0.008662, allocations: 4 kB / 484.4 MB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.008728, allocations: 56.66 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.008729, allocations: 0 / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of Templates: time 0.003368/0.0121, allocations: 0.6734 MB / 485.2 MB, free: 1.656 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7202426437288523]