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.0007926/0.0007926, allocations: 80.45 kB / 19.9 MB, free: 12 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.0008288/0.0008288, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.8988/0.8988, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7282/0.7282, allocations: 154.9 MB / 414.9 MB, free: 0.5078 MB / 378.7 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 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.001366/0.001366, allocations: 70.09 kB / 0.6199 GB, free: 12.6 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4574, allocations: 102 MB / 0.7195 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Round): time 0.001533/0.459, allocations: 0.7296 MB / 0.7202 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007374/0.4597, allocations: 0.8648 MB / 0.7211 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.4597, allocations: 0 / 0.7211 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.4598, allocations: 13.48 kB / 0.7211 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.4598, allocations: 5.859 kB / 0.7211 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.46, allocations: 32.89 kB / 0.7211 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.4601, allocations: 74.12 kB / 0.7212 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4602, allocations: 16.64 kB / 0.7212 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.4603, allocations: 45.55 kB / 0.7212 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.4603, allocations: 32.98 kB / 0.7213 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.4603, allocations: 6.5 kB / 0.7213 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.4604, allocations: 7.281 kB / 0.7213 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.561e-05/0.4604, allocations: 17.48 kB / 0.7213 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.4604, allocations: 33.62 kB / 0.7213 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.4605, allocations: 74.86 kB / 0.7214 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4605, allocations: 4 kB / 0.7214 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4605, allocations: 1.312 kB / 0.7214 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4605, allocations: 0.7969 kB / 0.7214 GB, free: 22.3 MB / 0.6355 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.00035/0.4609, allocations: 301.1 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.4609, allocations: 10.19 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.4609, allocations: 12.89 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.538e-05/0.461, allocations: 122.7 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.461, allocations: 10.5 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.461, allocations: 3.562 kB / 0.7218 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.4612, allocations: 86.28 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.4612, allocations: 1.344 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4612, allocations: 7.938 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.4612, allocations: 1.312 kB / 0.7219 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.4614, allocations: 63.03 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.4617, allocations: 262.9 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.4618, allocations: 85.05 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.329e-05/0.4619, allocations: 35.62 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.4619, allocations: 1.797 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.4619, allocations: 32.84 kB / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.4619, allocations: 0 / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002865/0.4622, allocations: 140.6 kB / 0.7225 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.4622, allocations: 53.23 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.4623, allocations: 122.9 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.4623, allocations: 29.7 kB / 0.7227 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.4623, allocations: 89.72 kB / 0.7228 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.4624, allocations: 24.41 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.4624, allocations: 20.38 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.907e-05/0.4624, allocations: 320 kB / 0.7232 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.581e-05/0.4625, allocations: 29.77 kB / 0.7232 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.4625, allocations: 35.39 kB / 0.7232 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4627, allocations: 70.95 kB / 0.7233 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4627, allocations: 0 / 0.7233 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001571/0.4628, allocations: 105.2 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4628, allocations: 8.078 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4628, allocations: 0 / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.4629, allocations: 1.125 kB / 0.7234 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.57e-05/0.4629, allocations: 23.81 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.4629, allocations: 0.9375 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.463, allocations: 6.922 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.463, allocations: 2.625 kB / 0.7234 GB, free: 20.62 MB / 0.6355 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 3.947e-05/0.463, allocations: 122.4 kB / 0.7236 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.463, allocations: 7.484 kB / 0.7236 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.4631, allocations: 10.77 kB / 0.7236 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4631, allocations: 1.094 kB / 0.7236 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4631, allocations: 4 kB / 0.7236 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4631, allocations: 1.25 kB / 0.7236 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.649e-05/0.4632, allocations: 142.3 kB / 0.7237 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4632, allocations: 5 kB / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.4632, allocations: 20.77 kB / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4632, allocations: 0 / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4632, allocations: 2.016 kB / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4632, allocations: 1.031 kB / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.4632, allocations: 1.031 kB / 0.7237 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.4634, allocations: 202.4 kB / 0.7239 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.4634, allocations: 7.375 kB / 0.7239 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.4634, allocations: 5.531 kB / 0.7239 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.4635, allocations: 6.047 kB / 0.7239 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.4635, allocations: 21.28 kB / 0.724 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4635, allocations: 2.828 kB / 0.724 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.763e-05/0.4635, allocations: 94.53 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4635, allocations: 3.938 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001493/0.4637, allocations: 9.5 kB / 0.7241 GB, free: 20.07 MB / 0.6355 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 7.296e-05/0.4638, allocations: 100.2 kB / 0.7242 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.4639, allocations: 74.84 kB / 0.7242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.4639, allocations: 0 / 0.7242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.464, allocations: 39.41 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.4642, allocations: 11 kB / 0.7243 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.4645, allocations: 170.9 kB / 0.7245 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.4646, allocations: 80.27 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.4646, allocations: 6.359 kB / 0.7245 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.4646, allocations: 19.81 kB / 0.7246 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4646, allocations: 0 / 0.7246 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.002758/0.4674, allocations: 1.347 MB / 0.7259 GB, free: 19.58 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.184263242059387] Failed to read output from testmodel.py, exit status != 0: 0.4736343399854377 0.481670407 0.01937788 Calling exit ...