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.0009665/0.0009665, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.001103/0.001103, allocations: 165 kB / 24.05 MB, free: 452 kB / 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 1.11/1.11, allocations: 177.1 MB / 204.5 MB, free: 5.48 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-535:34: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-535:42: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.8276/0.8276, allocations: 154.9 MB / 415.9 MB, free: 240 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: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 0 / 0.522 GB, free: 1.449 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.763e-05/4.128e-05, allocations: 5.703 kB / 0.522 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002218/0.00226, allocations: 0.6897 MB / 0.5226 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.003464, allocations: 0.8438 MB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.00352, allocations: 0 / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.003549, allocations: 4.703 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.003632, allocations: 15.88 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 6.231e-05/0.003694, allocations: 7.984 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.004081, allocations: 44.47 kB / 0.5235 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004182, allocations: 11.98 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.983e-05/0.004262, allocations: 21.2 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.004301, allocations: 23.91 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.004317, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.004323, allocations: 4.969 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.00434, allocations: 8 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.004362, allocations: 15.92 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.643e-05/0.004449, allocations: 32.86 kB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004452, allocations: 0 / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.004453, allocations: 1 kB / 0.5236 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.004457, allocations: 0 / 0.5236 GB, free: 15.74 MB / 0.4948 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.0003615/0.004819, allocations: 373.5 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.004857, allocations: 15.97 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.004882, allocations: 4.891 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.941e-05/0.004962, allocations: 118.2 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.00497, allocations: 384 / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.004978, allocations: 4.375 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.005101, allocations: 63.88 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.005108, allocations: 4.125 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.005115, allocations: 384 / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005123, allocations: 9.578 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.005144, allocations: 11.92 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002632/0.005407, allocations: 248.3 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.95e-05/0.005467, allocations: 27.69 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.005487, allocations: 17.56 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.343e-06/0.005494, allocations: 0 / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.005516, allocations: 37.39 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.005517, allocations: 0 / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001269/0.005644, allocations: 45.66 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.005675, allocations: 56.97 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.005744, allocations: 169.9 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005754, allocations: 25.7 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.005805, allocations: 134.8 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.005825, allocations: 9.234 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.005855, allocations: 23.36 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.005972, allocations: 496.1 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.005987, allocations: 8.609 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/0.005999, allocations: 4 kB / 0.5255 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.006029, allocations: 12.44 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.00603, allocations: 3.938 kB / 0.5255 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.526e-05/0.006096, allocations: 51.05 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.006108, allocations: 4 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.006112, allocations: 0 / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.00612, allocations: 3.938 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.69e-05/0.006187, allocations: 9.062 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.006191, allocations: 3.984 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.006215, allocations: 7.594 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.006221, allocations: 4 kB / 0.5256 GB, free: 13.59 MB / 0.4948 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 6.705e-05/0.006288, allocations: 152.6 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.006313, allocations: 4 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.006334, allocations: 8 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.006338, allocations: 7.922 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.006341, allocations: 0 / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.006343, allocations: 0 / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.006447, allocations: 105.2 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.006448, allocations: 1.812 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.006486, allocations: 19.92 kB / 0.5258 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006487, allocations: 0 / 0.5258 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.006493, allocations: 0 / 0.5258 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006494, allocations: 1.938 kB / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006495, allocations: 0 / 0.5259 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.006614, allocations: 192.2 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.094e-05/0.006625, allocations: 11.97 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.006633, allocations: 0 / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.006674, allocations: 14.73 kB / 0.5261 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.006708, allocations: 7.922 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.006711, allocations: 4 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.006747, allocations: 127.2 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006747, allocations: 0 / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00014/0.006887, allocations: 8 kB / 0.5262 GB, free: 12.89 MB / 0.4948 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.0001004/0.006987, allocations: 100.9 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.083e-05/0.007058, allocations: 19.67 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.00706, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.862e-05/0.007078, allocations: 11.69 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.007281, allocations: 12.92 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/0.007531, allocations: 135 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.368e-05/0.007564, allocations: 60.16 kB / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.00759, allocations: 4.656 kB / 0.5265 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.007644, allocations: 70.83 kB / 0.5266 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.007645, allocations: 2.938 kB / 0.5266 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.002371/0.01002, allocations: 0.8125 MB / 0.5274 GB, free: 11.64 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8460738430731]