Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0008181/0.0008181, 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.0008438/0.0008438, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.9384/0.9384, allocations: 177.2 MB / 203.6 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7689/0.7689, allocations: 154.7 MB / 414.7 MB, free: 0.7695 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average") [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.001419/0.001419, allocations: 72.17 kB / 0.6196 GB, free: 13.07 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4759/0.4773, allocations: 102 MB / 0.7192 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001626/0.4789, allocations: 0.6724 MB / 0.7198 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.4799, allocations: 0.8326 MB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.48, allocations: 1.094 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.165e-05/0.48, allocations: 7.938 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.992e-05/0.4801, allocations: 5.703 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.722e-05/0.4802, allocations: 11.28 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.4803, allocations: 51.17 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.4804, allocations: 8.344 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.4805, allocations: 25.66 kB / 0.7207 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.443e-05/0.4806, allocations: 19.42 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.4806, allocations: 3.375 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.4806, allocations: 3.594 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.4807, allocations: 10.38 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.4807, allocations: 17.5 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.4808, allocations: 43.77 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4808, allocations: 0 / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.955e-06/0.4808, allocations: 1.031 kB / 0.7208 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.4808, allocations: 0.6094 kB / 0.7208 GB, free: 22.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004861/0.4813, allocations: 288.4 kB / 0.7211 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4814, allocations: 8.469 kB / 0.7211 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.4814, allocations: 7.812 kB / 0.7211 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.222e-05/0.4815, allocations: 115.2 kB / 0.7212 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.4815, allocations: 9.406 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.4815, allocations: 2.625 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.4817, allocations: 69.11 kB / 0.7213 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.4817, allocations: 192 / 0.7213 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4817, allocations: 7.875 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.4817, allocations: 1.438 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.4819, allocations: 65.95 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/0.4822, allocations: 211.6 kB / 0.7216 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.4823, allocations: 55.11 kB / 0.7216 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.4824, allocations: 40.3 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.4824, allocations: 1.594 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.4825, allocations: 31.31 kB / 0.7217 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.4825, allocations: 5.281 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003727/0.4828, allocations: 122.9 kB / 0.7218 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4829, allocations: 61.45 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.4829, allocations: 115.3 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.483, allocations: 25.7 kB / 0.722 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.483, allocations: 91.02 kB / 0.7221 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.483, allocations: 10.98 kB / 0.7221 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.483, allocations: 12.45 kB / 0.7221 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.4831, allocations: 318.9 kB / 0.7224 GB, free: 21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.4832, allocations: 31.06 kB / 0.7225 GB, free: 21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.4833, allocations: 31.2 kB / 0.7225 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.4835, allocations: 71.09 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4835, allocations: 0 / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002139/0.4837, allocations: 101.9 kB / 0.7227 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4837, allocations: 4.781 kB / 0.7227 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4837, allocations: 4.547 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.4837, allocations: 1.156 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.4838, allocations: 19.52 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4838, allocations: 0 / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.4839, allocations: 16.16 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.4839, allocations: 1.094 kB / 0.7227 GB, free: 20.91 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 (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 5.313e-05/0.484, allocations: 118 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.484, allocations: 10.33 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.484, allocations: 10.53 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.484, allocations: 336 / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.484, allocations: 5.062 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.484, allocations: 0.6094 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.4841, allocations: 108.2 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4841, allocations: 0 / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.737e-05/0.4842, allocations: 23.5 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4842, allocations: 1.719 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.4842, allocations: 0 / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4842, allocations: 1.156 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4842, allocations: 0.7969 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.4844, allocations: 202.8 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.4844, allocations: 9.109 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.4845, allocations: 1.844 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.974e-05/0.4845, allocations: 12.17 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.4846, allocations: 3.594 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4846, allocations: 1.125 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.057e-05/0.4846, allocations: 88.42 kB / 0.7233 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4846, allocations: 4 kB / 0.7233 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001472/0.4848, allocations: 5.844 kB / 0.7233 GB, free: 20.39 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 (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.0001093/0.4849, allocations: 97.38 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.4851, allocations: 70.42 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4851, allocations: 0 / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.4852, allocations: 37.69 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.4854, allocations: 5.938 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.4857, allocations: 128.2 kB / 0.7236 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.4858, allocations: 68.31 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.4858, allocations: 1.094 kB / 0.7237 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.4858, allocations: 14.75 kB / 0.7237 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4858, allocations: 0 / 0.7237 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.002813/0.4887, allocations: 0.7287 MB / 0.7244 GB, free: 19.99 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.37733275804203] Failed to read output from testmodel.py, exit status != 0: 0.49651063699275255 0.508730269 0.025764226 Calling exit ...