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.001958/0.001958, allocations: 79.28 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.002414/0.002414, allocations: 164.5 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.208/1.208, allocations: 154.6 MB / 413.7 MB, free: 5.289 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.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.585e-06/2.585e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.377e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002033/0.002067, allocations: 0.6884 MB / 0.6193 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003406, allocations: 0.8276 MB / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.003452, allocations: 0 / 0.6201 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.003484, allocations: 4 kB / 0.6201 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.655e-05/0.00357, allocations: 8.844 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.399e-05/0.003644, allocations: 11.98 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.003739, allocations: 46.2 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.003871, allocations: 15.97 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.003966, allocations: 15.98 kB / 0.6202 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.004017, allocations: 23.91 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.004037, allocations: 4 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-06/0.004046, allocations: 4 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.004064, allocations: 8 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.004095, allocations: 11.98 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.004207, allocations: 47.8 kB / 0.6203 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.004209, allocations: 0 / 0.6203 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.52e-07/0.00421, allocations: 0 / 0.6203 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004214, allocations: 0 / 0.6203 GB, free: 2.879 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.0005813/0.004795, allocations: 294.1 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.004841, allocations: 13.47 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.004876, allocations: 4.891 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.004993, allocations: 109.8 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.005009, allocations: 384 / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.005028, allocations: 8.375 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.005291, allocations: 66.22 kB / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.005301, allocations: 192 / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005311, allocations: 384 / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005315, allocations: 384 / 0.6207 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.005643, allocations: 75.8 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.006027, allocations: 208.6 kB / 0.621 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.006274, allocations: 54.53 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.00644, allocations: 36.92 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.006458, allocations: 3.984 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.006489, allocations: 30.56 kB / 0.6211 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.006491, allocations: 4 kB / 0.6211 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0007321/0.007223, allocations: 129.5 kB / 0.6212 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.007273, allocations: 55.34 kB / 0.6213 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.007379, allocations: 113.8 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.007402, allocations: 29.7 kB / 0.6214 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.007475, allocations: 96.06 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.007505, allocations: 15.84 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.007556, allocations: 13.72 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.007762, allocations: 314.8 kB / 0.6219 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.007924, allocations: 31.95 kB / 0.6219 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.008085, allocations: 27.97 kB / 0.6219 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.008396, allocations: 76.72 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.008398, allocations: 4 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003482/0.008747, allocations: 89.62 kB / 0.6221 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.008766, allocations: 11.94 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.008772, allocations: 0 / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.00879, allocations: 4 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.008951, allocations: 19.97 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.008956, allocations: 0 / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.009037, allocations: 7.984 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.009049, allocations: 4 kB / 0.6221 GB, free: 0.7891 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 0.0001105/0.009159, allocations: 110.8 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.00919, allocations: 8.281 kB / 0.6222 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.009246, allocations: 7.938 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.009251, allocations: 3.984 kB / 0.6222 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.009255, allocations: 4 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.009261, allocations: 7.922 kB / 0.6223 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.009452, allocations: 113.3 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009453, allocations: 0 / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.009565, allocations: 15.98 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009567, allocations: 0 / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.009578, allocations: 0 / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.009583, allocations: 3.938 kB / 0.6224 GB, free: 480 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.009586, allocations: 4 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.01003, allocations: 199.4 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.01004, allocations: 4 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01006, allocations: 0 / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.01017, allocations: 19.92 kB / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.01025, allocations: 11.92 kB / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.01025, allocations: 0 / 0.6226 GB, free: 224 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.943e-05/0.01032, allocations: 83.28 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.01032, allocations: 4 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000232/0.01055, allocations: 11.94 kB / 0.6227 GB, free: 124 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.0002228/0.01078, allocations: 98.5 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.01117, allocations: 71.91 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01117, allocations: 0 / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.01133, allocations: 35.97 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.01166, allocations: 14.12 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.01202, allocations: 124.7 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.978e-05/0.01209, allocations: 63.34 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.01213, allocations: 4 kB / 0.6231 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.01216, allocations: 12.5 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of SimCode: time 4.7e-07/0.01216, allocations: 0 / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of Templates: time 0.003775/0.01594, allocations: 0.7278 MB / 0.6238 GB, free: 14.94 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.823411822319031] Failed to read output from testmodel.py, exit status != 0: 0.025174207985401154 0.040788224000000005 0.033466411 Calling exit ...