Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.00137/0.00137, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001401/0.001401, allocations: 171.6 kB / 22.46 MB, free: 5.363 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.442/1.442, 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.225/1.225, allocations: 154.6 MB / 413.7 MB, free: 5.285 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.146e-06/3.146e-06, allocations: 0 / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.653e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002121/0.002157, allocations: 0.652 MB / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.003514, allocations: 0.8431 MB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.003558, allocations: 0 / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.003595, allocations: 7.938 kB / 0.6201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.374e-05/0.003659, allocations: 0 / 0.6201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.003878, allocations: 15.92 kB / 0.6201 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.52e-05/0.003973, allocations: 27.91 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.004083, allocations: 4 kB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.162e-05/0.004174, allocations: 11.98 kB / 0.6201 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.004219, allocations: 11.92 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004235, allocations: 4 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.785e-05/0.004282, allocations: 4 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.004303, allocations: 4 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.004329, allocations: 4 kB / 0.6201 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.004474, allocations: 35.88 kB / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.004478, allocations: 0 / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004479, allocations: 0 / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.004486, allocations: 7.938 kB / 0.6202 GB, free: 2.957 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005251/0.005011, allocations: 262.3 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.005061, allocations: 9.469 kB / 0.6204 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.005178, allocations: 8.891 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.005299, allocations: 105.8 kB / 0.6205 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.005315, allocations: 384 / 0.6205 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.005332, allocations: 8.375 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.005541, allocations: 54.17 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.005552, allocations: 192 / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.005565, allocations: 4.359 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.00557, allocations: 384 / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.005756, allocations: 39.89 kB / 0.6206 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.006155, allocations: 188.6 kB / 0.6208 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.006309, allocations: 42.59 kB / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.006399, allocations: 20.84 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.006425, allocations: 4 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.006457, allocations: 34.56 kB / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.006458, allocations: 0 / 0.6209 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003919/0.00685, allocations: 81.58 kB / 0.621 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.006896, allocations: 51.53 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.006992, allocations: 105.8 kB / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.00701, allocations: 29.69 kB / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.007069, allocations: 88.08 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.007091, allocations: 7.953 kB / 0.6213 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.007133, allocations: 13.72 kB / 0.6213 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.00727, allocations: 314.8 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.007355, allocations: 15.98 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.007433, allocations: 19.97 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.007604, allocations: 40.89 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.007606, allocations: 0 / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002082/0.007814, allocations: 69.61 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.007831, allocations: 4 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.007841, allocations: 7.938 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.00786, allocations: 0 / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.007958, allocations: 12.02 kB / 0.6217 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.007969, allocations: 11.86 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.008018, allocations: 4 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.008024, allocations: 0 / 0.6218 GB, free: 1.156 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 (2): * Single equations (assignments): 2 * 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.795e-05/0.008122, allocations: 114.8 kB / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.008148, allocations: 0 / 0.6219 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.008409, allocations: 80.86 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.008411, allocations: 0 / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.008415, allocations: 4.031 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008419, allocations: 0 / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.008568, allocations: 105.3 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008569, allocations: 0 / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.008636, allocations: 8 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.008639, allocations: 0 / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.008649, allocations: 3.984 kB / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.008653, allocations: 3.938 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008654, allocations: 0 / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.008923, allocations: 163.5 kB / 0.6222 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.008934, allocations: 7.953 kB / 0.6222 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.00895, allocations: 4 kB / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.009031, allocations: 11.94 kB / 0.6222 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.009076, allocations: 3.984 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.009079, allocations: 0 / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.138e-05/0.00913, allocations: 79.28 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.00913, allocations: 0 / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002179/0.009348, allocations: 4 kB / 0.6223 GB, free: 0.5078 MB / 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 (2): * Single equations (assignments): 2 * 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.0001577/0.009506, allocations: 99.28 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.009742, allocations: 47.89 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.009744, allocations: 3.938 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.009829, allocations: 11.98 kB / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.01015, allocations: 7.984 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.01051, allocations: 104.9 kB / 0.6226 GB, free: 204 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.635e-05/0.01058, allocations: 63.34 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.086e-05/0.0106, allocations: 0 / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.01063, allocations: 12.5 kB / 0.6227 GB, free: 108 kB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.01063, allocations: 3.938 kB / 0.6227 GB, free: 104 kB / 0.5294 GB Notification: Performance of Templates: time 0.00311/0.01374, allocations: 468.3 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.798639003187418] Failed to read output from testmodel.py, exit status != 0: 0.023769080638885498 0.039146735 0.031557741 Calling exit ...