Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.001328/0.001328, allocations: 82.48 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001417/0.001417, allocations: 170 kB / 22.44 MB, free: 5.34 MB / 14.72 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.61/1.61, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 1.161/1.161, allocations: 155 MB / 414.2 MB, free: 4.941 MB / 382.1 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 178] 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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") [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.002042/0.002042, allocations: 65.81 kB / 0.6192 GB, free: 4.125 MB / 0.5294 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.5302/0.5323, allocations: 102 MB / 0.7188 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001642/0.5339, allocations: 0.6529 MB / 0.7194 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007342/0.5346, allocations: 0.8424 MB / 0.7203 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.5347, allocations: 5.562 kB / 0.7203 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.5347, allocations: 0 / 0.7203 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.5348, allocations: 8.5 kB / 0.7203 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.5349, allocations: 10.28 kB / 0.7203 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.101e-05/0.535, allocations: 24.86 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.5351, allocations: 13.3 kB / 0.7203 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.5351, allocations: 9.734 kB / 0.7203 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.5352, allocations: 12.73 kB / 0.7203 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.5352, allocations: 1.188 kB / 0.7203 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.5352, allocations: 7.625 kB / 0.7203 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.5352, allocations: 5.984 kB / 0.7203 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.5353, allocations: 6.141 kB / 0.7204 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.5353, allocations: 28.94 kB / 0.7204 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5353, allocations: 7.938 kB / 0.7204 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5353, allocations: 0 / 0.7204 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.5354, allocations: 1.094 kB / 0.7204 GB, free: 0.6523 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000336/0.5357, allocations: 265.2 kB / 0.7206 GB, free: 392 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5357, allocations: 10.06 kB / 0.7207 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.913e-05/0.5358, allocations: 4.219 kB / 0.7207 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.502e-05/0.5359, allocations: 113.1 kB / 0.7208 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5359, allocations: 2.219 kB / 0.7208 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.5359, allocations: 1.344 kB / 0.7208 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.536, allocations: 57.53 kB / 0.7208 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5361, allocations: 192 / 0.7208 GB, free: 212 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5361, allocations: 4.734 kB / 0.7208 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5361, allocations: 1.25 kB / 0.7208 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.5362, allocations: 31.88 kB / 0.7209 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.5365, allocations: 194 kB / 0.721 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.5366, allocations: 36.69 kB / 0.7211 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/0.5367, allocations: 28.11 kB / 0.7211 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.5367, allocations: 5.062 kB / 0.7211 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.5368, allocations: 32.39 kB / 0.7211 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5368, allocations: 0 / 0.7211 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0003479/0.5371, allocations: 84.12 kB / 0.7212 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.5372, allocations: 52.41 kB / 0.7213 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.5372, allocations: 97.34 kB / 0.7214 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.5373, allocations: 29.7 kB / 0.7214 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.5373, allocations: 86.58 kB / 0.7215 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.5373, allocations: 4.75 kB / 0.7215 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.5374, allocations: 12.78 kB / 0.7215 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5375, allocations: 318.7 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.5376, allocations: 13.67 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.5376, allocations: 19.14 kB / 0.7218 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.5378, allocations: 40.39 kB / 0.7219 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5378, allocations: 0 / 0.7219 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002016/0.538, allocations: 79.48 kB / 0.7219 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.538, allocations: 5.719 kB / 0.7219 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.538, allocations: 0 / 0.7219 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.538, allocations: 4.5 kB / 0.7219 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.5381, allocations: 8.516 kB / 0.722 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.5381, allocations: 5.719 kB / 0.722 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.5382, allocations: 9.453 kB / 0.722 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.5382, allocations: 5.016 kB / 0.722 GB, free: 15.16 MB / 0.6231 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 (2): * Single equations (assignments): 2 * 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 7.895e-05/0.5383, allocations: 114.2 kB / 0.7221 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.5383, allocations: 5.906 kB / 0.7221 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.5385, allocations: 74.28 kB / 0.7222 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5385, allocations: 1.031 kB / 0.7222 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5385, allocations: 0 / 0.7222 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5385, allocations: 6.062 kB / 0.7222 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.5387, allocations: 104 kB / 0.7223 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5387, allocations: 0 / 0.7223 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.5387, allocations: 8.953 kB / 0.7223 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.5387, allocations: 5.344 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.5387, allocations: 192 / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5387, allocations: 4.734 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5387, allocations: 1.469 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.539, allocations: 167.5 kB / 0.7224 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.539, allocations: 13.36 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.539, allocations: 0.9062 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.5391, allocations: 6.797 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.5391, allocations: 2.781 kB / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.5391, allocations: 0 / 0.7225 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.901e-05/0.5392, allocations: 88.98 kB / 0.7226 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.5392, allocations: 0 / 0.7226 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002138/0.5394, allocations: 4.438 kB / 0.7226 GB, free: 14.62 MB / 0.6231 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 (2): * Single equations (assignments): 2 * 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.0001095/0.5395, allocations: 95.34 kB / 0.7227 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.5397, allocations: 35.77 kB / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5397, allocations: 0 / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.5398, allocations: 20.09 kB / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.5401, allocations: 5.484 kB / 0.7227 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002626/0.5403, allocations: 105.2 kB / 0.7228 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.627e-05/0.5404, allocations: 67.56 kB / 0.7229 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.996e-05/0.5404, allocations: 5.859 kB / 0.7229 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.5404, allocations: 9.844 kB / 0.7229 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.5404, allocations: 0 / 0.7229 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.002674/0.5431, allocations: 498.1 kB / 0.7234 GB, free: 14.23 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.228143202140927] Failed to read output from testmodel.py, exit status != 0: 0.5514420662075281 0.5660319540000001 0.027430961 Calling exit ...