Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.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.0006415/0.0006415, 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.0006848/0.0006848, 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.8592/0.8592, 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.7282/0.7282, allocations: 203.8 MB / 0.5049 GB, free: 10.45 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.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round") [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.0009946/0.0009946, allocations: 66.98 kB / 0.7194 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4074, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001268/0.4086, allocations: 0.7418 MB / 0.8198 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006081/0.4092, allocations: 0.8611 MB / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.4093, allocations: 1.156 kB / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.4093, allocations: 5.656 kB / 0.8206 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.74e-05/0.4094, allocations: 10.23 kB / 0.8206 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001379/0.4095, allocations: 34.48 kB / 0.8207 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.854e-05/0.4096, allocations: 69.14 kB / 0.8207 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4097, allocations: 23.48 kB / 0.8208 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.4098, allocations: 31.06 kB / 0.8208 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.4098, allocations: 40.78 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.4098, allocations: 6 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.4099, allocations: 11.53 kB / 0.8208 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.4099, allocations: 19.12 kB / 0.8209 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.4099, allocations: 23.64 kB / 0.8209 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.41, allocations: 75.36 kB / 0.821 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.41, allocations: 0 / 0.821 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/0.41, allocations: 0 / 0.821 GB, free: 52 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.41, allocations: 0 / 0.821 GB, free: 52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004148/0.4104, allocations: 301.3 kB / 0.8212 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.4105, allocations: 9.906 kB / 0.8213 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.4105, allocations: 11.3 kB / 0.8213 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.4106, allocations: 121.7 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.4106, allocations: 7.031 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.4106, allocations: 3.75 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4108, allocations: 89.52 kB / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.4108, allocations: 192 / 0.8215 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.4108, allocations: 6.125 kB / 0.8215 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4108, allocations: 0 / 0.8215 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.4109, allocations: 67.66 kB / 0.8215 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.4112, allocations: 265.1 kB / 0.8218 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.4114, allocations: 83.92 kB / 0.8219 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.4115, allocations: 35.27 kB / 0.8219 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.4115, allocations: 0 / 0.8219 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.4115, allocations: 36.89 kB / 0.822 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.4115, allocations: 0 / 0.822 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002885/0.4118, allocations: 137.1 kB / 0.8221 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.4118, allocations: 57.16 kB / 0.8221 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.4119, allocations: 119.2 kB / 0.8223 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4119, allocations: 30.92 kB / 0.8223 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.4119, allocations: 92.45 kB / 0.8224 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.412, allocations: 23.73 kB / 0.8224 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.412, allocations: 21.09 kB / 0.8224 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.4121, allocations: 319 kB / 0.8227 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.4121, allocations: 27.58 kB / 0.8227 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.862e-05/0.4122, allocations: 34.81 kB / 0.8228 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.4123, allocations: 85.55 kB / 0.8229 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4123, allocations: 0 / 0.8229 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001474/0.4125, allocations: 104.6 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.4125, allocations: 5.375 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4125, allocations: 0 / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4125, allocations: 6.859 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.4126, allocations: 13.77 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.4126, allocations: 2.812 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.359e-05/0.4126, allocations: 6.156 kB / 0.823 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.4126, allocations: 3.359 kB / 0.823 GB, free: 14.38 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 (6): * Single equations (assignments): 6 * 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.497e-05/0.4127, allocations: 122.6 kB / 0.8231 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.4127, allocations: 5.234 kB / 0.8231 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.4127, allocations: 12 kB / 0.8231 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4127, allocations: 0 / 0.8231 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4127, allocations: 4 kB / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4127, allocations: 2.859 kB / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.4128, allocations: 132.9 kB / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4128, allocations: 0 / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.4129, allocations: 13.72 kB / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.4129, allocations: 0 / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4129, allocations: 5.609 kB / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.4129, allocations: 0 / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4129, allocations: 0 / 0.8233 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.413, allocations: 209.9 kB / 0.8235 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.4131, allocations: 6.203 kB / 0.8235 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.4131, allocations: 1.656 kB / 0.8235 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.058e-05/0.4131, allocations: 11.44 kB / 0.8235 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.4132, allocations: 12.27 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4132, allocations: 6 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.4132, allocations: 94.84 kB / 0.8236 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4132, allocations: 0 / 0.8236 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001476/0.4133, allocations: 17.44 kB / 0.8236 GB, free: 13.83 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 (6): * Single equations (assignments): 6 * 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 8.461e-05/0.4134, allocations: 95.88 kB / 0.8237 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.4136, allocations: 74.41 kB / 0.8238 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4136, allocations: 1.281 kB / 0.8238 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.097e-05/0.4137, allocations: 45.05 kB / 0.8238 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.4139, allocations: 9.109 kB / 0.8238 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.4142, allocations: 202.1 kB / 0.824 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.945e-05/0.4143, allocations: 80.11 kB / 0.8241 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.4143, allocations: 18.55 kB / 0.8241 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.4143, allocations: 0 / 0.8241 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.001854/0.4162, allocations: 1.066 MB / 0.8252 GB, free: 13.37 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.207075340207666] Failed to read output from testmodel.py, exit status != 0: 0.4214860158972442 0.430363582 0.018593185 Calling exit ...