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.0009/0.0009, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008716/0.0008716, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.906/0.906, 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.7144/0.7144, allocations: 154.7 MB / 414.7 MB, free: 0.7109 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.001392/0.001392, allocations: 72.17 kB / 0.6196 GB, free: 13.02 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.4785/0.4799, allocations: 101.9 MB / 0.7192 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001476/0.4814, allocations: 0.6797 MB / 0.7198 GB, free: 23.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000734/0.4821, allocations: 0.8316 MB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.4821, allocations: 1.031 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.4822, allocations: 8.672 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.4823, allocations: 5.719 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.958e-05/0.4823, allocations: 14.39 kB / 0.7207 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.4824, allocations: 46.53 kB / 0.7207 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4825, allocations: 13.36 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.4826, allocations: 26.02 kB / 0.7208 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.4827, allocations: 21.61 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.4827, allocations: 8.25 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.065e-06/0.4827, allocations: 3.25 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.4827, allocations: 7.094 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.4827, allocations: 13.2 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.4829, allocations: 48.94 kB / 0.7209 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4829, allocations: 0 / 0.7209 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4829, allocations: 1.094 kB / 0.7209 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4829, allocations: 0 / 0.7209 GB, free: 22.52 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.0004084/0.4833, allocations: 293.6 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4833, allocations: 12.59 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.4834, allocations: 7.203 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.4834, allocations: 111.1 kB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4835, allocations: 1.562 kB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.4835, allocations: 2.688 kB / 0.7213 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.4837, allocations: 72.14 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4837, allocations: 192 / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4837, allocations: 6 kB / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4837, allocations: 0 / 0.7213 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.4839, allocations: 66.34 kB / 0.7214 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.4842, allocations: 211.9 kB / 0.7216 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.4843, allocations: 54.66 kB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.4844, allocations: 44.81 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.4844, allocations: 3.984 kB / 0.7217 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4844, allocations: 32.66 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4844, allocations: 0 / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000343/0.4847, allocations: 124.3 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.62e-05/0.4848, allocations: 52.11 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.4848, allocations: 115.2 kB / 0.722 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.4848, allocations: 26.89 kB / 0.722 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.4849, allocations: 86.56 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.4849, allocations: 10.78 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.4849, allocations: 16.47 kB / 0.7222 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.4849, allocations: 319.6 kB / 0.7225 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.871e-05/0.485, allocations: 30.03 kB / 0.7225 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.528e-05/0.4851, allocations: 35.75 kB / 0.7225 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4852, allocations: 70.3 kB / 0.7226 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4852, allocations: 0 / 0.7226 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001748/0.4854, allocations: 97.72 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4854, allocations: 10.45 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4854, allocations: 0 / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4854, allocations: 1.062 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.4855, allocations: 19.27 kB / 0.7227 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4855, allocations: 0.6562 kB / 0.7227 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.4856, allocations: 14.86 kB / 0.7227 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.4856, allocations: 5.5 kB / 0.7227 GB, free: 20.96 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.89e-05/0.4856, allocations: 119 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.4856, allocations: 9.078 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.4857, allocations: 14.33 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4857, allocations: 1.188 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4857, allocations: 0.6562 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.941e-06/0.4857, allocations: 1.281 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.4857, allocations: 2.078 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.4857, allocations: 11.72 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.4858, allocations: 4.172 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001987/0.486, allocations: 190.4 kB / 0.7231 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001844/0.4862, allocations: 270.7 kB / 0.7233 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.803e-05/0.4862, allocations: 38.14 kB / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.25e-05/0.4863, allocations: 83.61 kB / 0.7234 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of Backend: time 1.41e-07/0.4863, allocations: 4 kB / 0.7234 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4866, allocations: 110.6 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004637/0.4871, allocations: 0.5704 MB / 0.7241 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.002714/0.4898, allocations: 0.9507 MB / 0.725 GB, free: 19.61 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: 4.179680893896148] Failed to read output from testmodel.py, exit status != 0: 0.4964555990882218 0.504199 0.019502965 Calling exit ...