Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007379/0.0007379, allocations: 72.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.0007819/0.0007819, allocations: 169.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.8425/0.8425, allocations: 177.2 MB / 203.6 MB, free: 5.758 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: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.7029/0.7029, allocations: 155 MB / 415 MB, free: 492 kB / 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009433/0.0009433, allocations: 67.89 kB / 0.62 GB, free: 12.67 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.4332/0.4341, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001303/0.4354, allocations: 0.6837 MB / 0.7202 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006796/0.4361, allocations: 0.8332 MB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.006e-05/0.4362, allocations: 0 / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.4362, allocations: 4.453 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/0.4362, allocations: 10.94 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.845e-05/0.4363, allocations: 9.453 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.4364, allocations: 44.09 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.4365, allocations: 8.062 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.4366, allocations: 32.98 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.4366, allocations: 18.75 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.4366, allocations: 8.344 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.623e-06/0.4366, allocations: 3.5 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.4366, allocations: 7.234 kB / 0.7212 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.4367, allocations: 17.8 kB / 0.7212 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.281e-05/0.4368, allocations: 45.38 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4368, allocations: 0 / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4368, allocations: 1.375 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.4368, allocations: 0 / 0.7212 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003545/0.4371, allocations: 287 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4372, allocations: 15.86 kB / 0.7215 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.4372, allocations: 7.141 kB / 0.7215 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.215e-05/0.4373, allocations: 118.8 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4373, allocations: 5.375 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4373, allocations: 3.25 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.4375, allocations: 75.77 kB / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4375, allocations: 192 / 0.7217 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.4375, allocations: 4.969 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4375, allocations: 1.578 kB / 0.7217 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.4376, allocations: 66.02 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.4379, allocations: 207.4 kB / 0.722 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.438, allocations: 58.95 kB / 0.722 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.4381, allocations: 44.77 kB / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.4381, allocations: 0 / 0.7221 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.4381, allocations: 33.28 kB / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.4381, allocations: 0 / 0.7221 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000318/0.4384, allocations: 123.1 kB / 0.7222 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.4385, allocations: 53.77 kB / 0.7223 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.4385, allocations: 110.7 kB / 0.7224 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.4385, allocations: 27.23 kB / 0.7224 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.4385, allocations: 91.05 kB / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.4386, allocations: 9.906 kB / 0.7225 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.4386, allocations: 21.34 kB / 0.7225 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.732e-05/0.4386, allocations: 314.1 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.452e-05/0.4387, allocations: 31.11 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.832e-05/0.4387, allocations: 38.97 kB / 0.7229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.4389, allocations: 67.09 kB / 0.723 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4389, allocations: 0 / 0.723 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001709/0.4391, allocations: 97.97 kB / 0.7231 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4391, allocations: 8.906 kB / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4391, allocations: 2.062 kB / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4391, allocations: 0 / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.4392, allocations: 19.14 kB / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4392, allocations: 1.156 kB / 0.7231 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.985e-05/0.4392, allocations: 15.64 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.4392, allocations: 0 / 0.7231 GB, free: 20.75 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.999e-05/0.4393, allocations: 115.1 kB / 0.7232 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.4393, allocations: 10.03 kB / 0.7232 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.4393, allocations: 14.08 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4393, allocations: 0 / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4393, allocations: 1.156 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4393, allocations: 0.7031 kB / 0.7232 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.29e-05/0.4394, allocations: 108.6 kB / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4394, allocations: 0 / 0.7233 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.4394, allocations: 20.25 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.4394, allocations: 3.938 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4394, allocations: 2.578 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.4394, allocations: 4 kB / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4394, allocations: 0 / 0.7234 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.4396, allocations: 194.9 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.4396, allocations: 9.078 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.4396, allocations: 5.703 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.4397, allocations: 11.72 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.4397, allocations: 8.875 kB / 0.7236 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4397, allocations: 5.094 kB / 0.7236 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.931e-05/0.4397, allocations: 86.64 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4397, allocations: 4.969 kB / 0.7237 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001367/0.4399, allocations: 6.156 kB / 0.7237 GB, free: 20.23 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 7.144e-05/0.4399, allocations: 92.91 kB / 0.7238 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.4401, allocations: 66.8 kB / 0.7238 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4401, allocations: 4 kB / 0.7238 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.4402, allocations: 37.64 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.4404, allocations: 8.688 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.4407, allocations: 148.5 kB / 0.724 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.175e-05/0.4407, allocations: 63.61 kB / 0.7241 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.4408, allocations: 14.91 kB / 0.7241 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of SimCode: time 4.41e-07/0.4408, allocations: 0 / 0.7241 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.001721/0.4425, allocations: 0.7814 MB / 0.7249 GB, free: 19.84 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.213855684036389] Failed to read output from testmodel.py, exit status != 0: 0.44932545092888176 0.456006049 0.017524306 Calling exit ...