Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.001408/0.001408, allocations: 79.2 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.002006/0.002006, allocations: 164.3 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.429/1.429, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.258/1.258, allocations: 154.5 MB / 413.7 MB, free: 5.27 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.726e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.002044/0.002081, allocations: 0.6866 MB / 0.6193 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.003401, allocations: 0.8276 MB / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.003455, allocations: 0 / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.003489, allocations: 3.938 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.00356, allocations: 7.875 kB / 0.6201 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.003694, allocations: 19.97 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.003803, allocations: 43.8 kB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.003929, allocations: 12 kB / 0.6201 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.004036, allocations: 27.91 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.004096, allocations: 15.97 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.004133, allocations: 4 kB / 0.6202 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.004147, allocations: 4 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.004174, allocations: 7.984 kB / 0.6202 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.004206, allocations: 11.94 kB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.004332, allocations: 43.86 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004335, allocations: 0 / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004335, allocations: 0 / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.004347, allocations: 4 kB / 0.6203 GB, free: 2.855 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.0005991/0.004946, allocations: 290.2 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.004989, allocations: 8.031 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.005032, allocations: 12.83 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005173, allocations: 113.7 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.005192, allocations: 4.375 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.005209, allocations: 384 / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.005498, allocations: 74.2 kB / 0.6207 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.005508, allocations: 4.188 kB / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.00552, allocations: 4.375 kB / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005525, allocations: 384 / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.005844, allocations: 67.86 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.006236, allocations: 208.5 kB / 0.621 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.006462, allocations: 58.53 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.006619, allocations: 36.92 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.006645, allocations: 0 / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.006674, allocations: 34.56 kB / 0.6211 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.006675, allocations: 0 / 0.6211 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005818/0.007257, allocations: 137.5 kB / 0.6213 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.0073, allocations: 51.41 kB / 0.6213 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.007408, allocations: 109.8 kB / 0.6214 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.007428, allocations: 29.7 kB / 0.6214 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.007489, allocations: 88.08 kB / 0.6215 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.007511, allocations: 7.906 kB / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.007556, allocations: 21.7 kB / 0.6216 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.007702, allocations: 314.8 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.007859, allocations: 31.97 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.008004, allocations: 31.95 kB / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002933/0.008297, allocations: 73.05 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.008299, allocations: 0 / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003504/0.00865, allocations: 101.6 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.008668, allocations: 11.88 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.008677, allocations: 4 kB / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.008693, allocations: 0 / 0.6221 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.008828, allocations: 15.98 kB / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.008833, allocations: 0 / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.008918, allocations: 15.97 kB / 0.6221 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.008926, allocations: 0 / 0.6221 GB, free: 0.7578 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.848e-05/0.009014, allocations: 114.8 kB / 0.6222 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.009041, allocations: 7.891 kB / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004034/0.009445, allocations: 113.5 kB / 0.6224 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.009447, allocations: 0 / 0.6224 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.009452, allocations: 4 kB / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.009456, allocations: 0 / 0.6224 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.009601, allocations: 113.3 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.009606, allocations: 4 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.009707, allocations: 15.97 kB / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009709, allocations: 0 / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.009717, allocations: 0 / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.009722, allocations: 7.938 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.009726, allocations: 4 kB / 0.6225 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.01015, allocations: 195.4 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.177e-05/0.01016, allocations: 4 kB / 0.6227 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01018, allocations: 3.984 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.01029, allocations: 15.92 kB / 0.6227 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.01034, allocations: 4 kB / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.01034, allocations: 3.938 kB / 0.6227 GB, free: 88 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.963e-05/0.01042, allocations: 91.34 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01042, allocations: 0 / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002201/0.01064, allocations: 4 kB / 0.6228 GB, free: 15.99 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.0001464/0.01079, allocations: 95.25 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.01115, allocations: 67.92 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01115, allocations: 0 / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.01131, allocations: 35.95 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.01164, allocations: 12 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.01203, allocations: 128.7 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.333e-05/0.01211, allocations: 63.34 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.01214, allocations: 0 / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.01217, allocations: 12.5 kB / 0.6232 GB, free: 15.53 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.01218, allocations: 3.938 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003739/0.01591, allocations: 0.7265 MB / 0.6239 GB, free: 14.82 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.770902954041958] Failed to read output from testmodel.py, exit status != 0: 0.02558239921927452 0.040999761 0.03370009 Calling exit ...