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.0006955/0.0006955, allocations: 76.45 kB / 19.91 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.000731/0.000731, 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.836/0.836, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.6771/0.6771, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.0008419/0.0008419, allocations: 64.19 kB / 0.6196 GB, free: 13.04 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.3929/0.3937, 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.00131/0.3951, allocations: 0.6811 MB / 0.7198 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.3956, allocations: 0.8329 MB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.3957, allocations: 0 / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.3957, allocations: 5.828 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.888e-05/0.3958, allocations: 5.75 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.634e-05/0.3958, allocations: 13.67 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.3959, allocations: 43.72 kB / 0.7207 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.396, allocations: 13.36 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.927e-05/0.3961, allocations: 29.39 kB / 0.7208 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.621e-05/0.3961, allocations: 17.25 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.3961, allocations: 8.375 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.583e-06/0.3961, allocations: 3.281 kB / 0.7208 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.3961, allocations: 11.17 kB / 0.7208 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.3962, allocations: 13.33 kB / 0.7208 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.203e-05/0.3962, allocations: 50.52 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3962, allocations: 0.7031 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3962, allocations: 0 / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3962, allocations: 3.938 kB / 0.7209 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.0003455/0.3966, allocations: 284.4 kB / 0.7211 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3966, allocations: 13.94 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.3967, allocations: 7.078 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.991e-05/0.3967, allocations: 110.8 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3967, allocations: 1.406 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3968, allocations: 7.375 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.3969, allocations: 67.61 kB / 0.7213 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3969, allocations: 192 / 0.7213 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3969, allocations: 12.97 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.397, allocations: 1.594 kB / 0.7213 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3971, allocations: 66 kB / 0.7214 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.3974, allocations: 207.9 kB / 0.7216 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.3975, allocations: 49.25 kB / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.3975, allocations: 53.72 kB / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.3976, allocations: 0 / 0.7217 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.3976, allocations: 36.19 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.3976, allocations: 1.062 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002969/0.3979, allocations: 123.4 kB / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.3979, allocations: 53.5 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.649e-05/0.3979, allocations: 119.9 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.3979, allocations: 25.7 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.398, allocations: 87.69 kB / 0.7221 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.398, allocations: 9.953 kB / 0.7221 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.398, allocations: 17.38 kB / 0.7222 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.731e-05/0.398, allocations: 318.1 kB / 0.7225 GB, free: 21 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.323e-05/0.3981, allocations: 31.08 kB / 0.7225 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.819e-05/0.3982, allocations: 35.42 kB / 0.7225 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3983, allocations: 65.97 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3983, allocations: 4.844 kB / 0.7226 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001603/0.3985, allocations: 96.91 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3985, allocations: 10.62 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.3985, allocations: 0 / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3985, allocations: 0 / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.3986, allocations: 15.66 kB / 0.7227 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3986, allocations: 5.641 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.3986, allocations: 15.69 kB / 0.7227 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3986, allocations: 1.031 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 3.391e-05/0.3986, allocations: 117.7 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.3987, allocations: 9.078 kB / 0.7229 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.753e-05/0.3987, allocations: 14.42 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.3987, allocations: 1.438 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.3987, allocations: 0 / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3987, allocations: 1.875 kB / 0.7229 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.706e-05/0.3987, allocations: 107.8 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.3987, allocations: 0 / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.3988, allocations: 20.23 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.3988, allocations: 0 / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3988, allocations: 1.656 kB / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.3988, allocations: 0 / 0.723 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3988, allocations: 5.188 kB / 0.723 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.399, allocations: 197.9 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.399, allocations: 11.19 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-06/0.399, allocations: 0 / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.399, allocations: 11.45 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.3991, allocations: 9.516 kB / 0.7232 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.3991, allocations: 5.156 kB / 0.7232 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.909e-05/0.3991, allocations: 84.34 kB / 0.7233 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3991, allocations: 0 / 0.7233 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001344/0.3992, allocations: 9.781 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 5.991e-05/0.3993, allocations: 93.02 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001722/0.3995, allocations: 69.98 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3995, allocations: 5 kB / 0.7235 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.3995, allocations: 37.05 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.3997, allocations: 7.391 kB / 0.7235 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.3999, allocations: 155 kB / 0.7237 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.044e-05/0.3999, allocations: 63.61 kB / 0.7237 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.4, allocations: 14.81 kB / 0.7237 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of SimCode: time 4.2e-07/0.4, allocations: 0 / 0.7237 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.001467/0.4014, allocations: 0.7683 MB / 0.7245 GB, free: 20 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.083690144121647] Failed to read output from testmodel.py, exit status != 0: 0.40587050118483603 0.412871256 0.015125054 Calling exit ...