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.0006993/0.0006993, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0006957/0.0006957, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 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 0.8484/0.8484, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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-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 0.7072/0.7072, allocations: 203.8 MB / 0.5049 GB, free: 10.02 MB / 410.7 MB " [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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000829/0.000829, allocations: 66.89 kB / 0.7194 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3876, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001305/0.3889, allocations: 0.6523 MB / 0.8197 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006175/0.3896, allocations: 0.8432 MB / 0.8205 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.3896, allocations: 0 / 0.8205 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3896, allocations: 4.5 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.3897, allocations: 0.9688 kB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3898, allocations: 16.3 kB / 0.8205 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.3899, allocations: 26.56 kB / 0.8206 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.919e-05/0.39, allocations: 8.953 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.39, allocations: 11.84 kB / 0.8206 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.273e-05/0.3901, allocations: 13.05 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3901, allocations: 2.062 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.745e-05/0.3901, allocations: 8 kB / 0.8206 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.3901, allocations: 2.922 kB / 0.8206 GB, free: 248 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.3902, allocations: 9.531 kB / 0.8206 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.481e-05/0.3903, allocations: 22.91 kB / 0.8206 GB, free: 236 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3903, allocations: 0.75 kB / 0.8206 GB, free: 236 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3903, allocations: 0.5156 kB / 0.8206 GB, free: 236 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3903, allocations: 2.938 kB / 0.8206 GB, free: 236 kB / 0.6042 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.0003232/0.3906, allocations: 261.4 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3906, allocations: 9.75 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.828e-05/0.3907, allocations: 4.328 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.3908, allocations: 118.1 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3908, allocations: 8.312 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-06/0.3908, allocations: 1.75 kB / 0.821 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.3909, allocations: 55.28 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3909, allocations: 192 / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3909, allocations: 3.938 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3909, allocations: 4 kB / 0.8211 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.08e-05/0.391, allocations: 33.23 kB / 0.8211 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002425/0.3913, allocations: 186.8 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.172e-05/0.3914, allocations: 34.48 kB / 0.8213 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.3914, allocations: 30.2 kB / 0.8214 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.3914, allocations: 3.938 kB / 0.8214 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.3914, allocations: 39.27 kB / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3914, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.3917, allocations: 79.58 kB / 0.8215 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.3917, allocations: 53.33 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.882e-05/0.3917, allocations: 101.5 kB / 0.8216 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3918, allocations: 25.7 kB / 0.8216 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.3918, allocations: 82.06 kB / 0.8217 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.3918, allocations: 9.875 kB / 0.8217 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.3918, allocations: 21.75 kB / 0.8218 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.3919, allocations: 316.6 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.3919, allocations: 14.48 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.392, allocations: 18.88 kB / 0.8221 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.3921, allocations: 36.19 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3921, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001057/0.3922, allocations: 76.92 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3922, allocations: 4.031 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3922, allocations: 0.7969 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3922, allocations: 1.312 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.672e-05/0.3923, allocations: 8.812 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3923, allocations: 3.938 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.3923, allocations: 6.703 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.3923, allocations: 1.625 kB / 0.8222 GB, free: 14.75 MB / 0.6198 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 5.042e-05/0.3923, allocations: 115.9 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.3923, allocations: 8.953 kB / 0.8223 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.3925, allocations: 71.83 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3925, allocations: 5.531 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3925, allocations: 0.6094 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3925, allocations: 0 / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.174e-05/0.3926, allocations: 103.9 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3926, allocations: 0.6562 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.3926, allocations: 13.56 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3926, allocations: 3.938 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.3926, allocations: 2.906 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3926, allocations: 0.7031 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3926, allocations: 3.938 kB / 0.8225 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.3927, allocations: 160.6 kB / 0.8227 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.3927, allocations: 13.41 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.3927, allocations: 0 / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.3928, allocations: 9.484 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.3928, allocations: 3.016 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3928, allocations: 4 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.665e-05/0.3928, allocations: 80.55 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3928, allocations: 0 / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001406/0.393, allocations: 3 kB / 0.8228 GB, free: 14.21 MB / 0.6198 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 7.991e-05/0.3931, allocations: 92.38 kB / 0.8229 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3932, allocations: 43.94 kB / 0.8229 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.3932, allocations: 0 / 0.8229 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.3932, allocations: 20.52 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.3934, allocations: 7.484 kB / 0.823 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/0.3937, allocations: 133.9 kB / 0.8231 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.3937, allocations: 59.38 kB / 0.8231 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.3937, allocations: 8.562 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.3937, allocations: 4.125 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.001372/0.3951, allocations: 0.5468 MB / 0.8237 GB, free: 13.85 MB / 0.6198 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.076892651151866] Failed to read output from testmodel.py, exit status != 0: 0.40030939411371946 0.40929003299999994 0.017331302 Calling exit ...