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.001608/0.001608, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.0019/0.0019, allocations: 220.1 kB / 22.26 MB, free: 5.211 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.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.296/1.296, allocations: 203.8 MB / 0.5041 GB, free: 4.922 MB / 414.1 MB " [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.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.002121/0.002121, allocations: 75.89 kB / 0.7188 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6258/0.6279, allocations: 102 MB / 0.8184 GB, free: 29.19 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.00232/0.6303, allocations: 0.7035 MB / 0.8191 GB, free: 28.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.6315, allocations: 0.832 MB / 0.8199 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.192e-05/0.6316, allocations: 1.562 kB / 0.8199 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.6316, allocations: 4.734 kB / 0.8199 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.347e-05/0.6317, allocations: 6.484 kB / 0.8199 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 7.168e-05/0.6318, allocations: 13.89 kB / 0.8199 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.6319, allocations: 42.95 kB / 0.8199 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.632, allocations: 10.56 kB / 0.8199 GB, free: 28.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.6321, allocations: 17.92 kB / 0.82 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.65e-05/0.6322, allocations: 26.94 kB / 0.82 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.6322, allocations: 4.031 kB / 0.82 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.6322, allocations: 3.531 kB / 0.82 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.6322, allocations: 11.28 kB / 0.82 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.6322, allocations: 19.95 kB / 0.82 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.6324, allocations: 40.91 kB / 0.8201 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6324, allocations: 0 / 0.8201 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6324, allocations: 1.156 kB / 0.8201 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.6324, allocations: 0 / 0.8201 GB, free: 28.04 MB / 0.6387 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.0005239/0.6329, allocations: 289.9 kB / 0.8203 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6329, allocations: 11.19 kB / 0.8204 GB, free: 27.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.633, allocations: 7.109 kB / 0.8204 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.6331, allocations: 116.9 kB / 0.8205 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.6331, allocations: 5.625 kB / 0.8205 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.6331, allocations: 1.562 kB / 0.8205 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.6334, allocations: 70.44 kB / 0.8205 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6334, allocations: 4.125 kB / 0.8205 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6334, allocations: 4.875 kB / 0.8206 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6334, allocations: 1.609 kB / 0.8206 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.6337, allocations: 64.86 kB / 0.8206 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.6341, allocations: 241.9 kB / 0.8208 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.6343, allocations: 62.05 kB / 0.8209 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.6345, allocations: 37.02 kB / 0.8209 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.6345, allocations: 0.6562 kB / 0.8209 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.6345, allocations: 31.81 kB / 0.821 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6345, allocations: 0 / 0.821 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005655/0.6351, allocations: 132 kB / 0.8211 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.6351, allocations: 55.41 kB / 0.8212 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.225e-05/0.6352, allocations: 114.7 kB / 0.8213 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.6352, allocations: 27.36 kB / 0.8213 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.6352, allocations: 86.55 kB / 0.8214 GB, free: 26.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.6352, allocations: 14 kB / 0.8214 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.6353, allocations: 13.11 kB / 0.8214 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.6353, allocations: 317.6 kB / 0.8217 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6355, allocations: 35.64 kB / 0.8217 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.6356, allocations: 30.66 kB / 0.8218 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.6359, allocations: 66.39 kB / 0.8218 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6359, allocations: 7.938 kB / 0.8218 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003039/0.6362, allocations: 102.5 kB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.6362, allocations: 6.25 kB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.6362, allocations: 0 / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.6362, allocations: 0.6562 kB / 0.8219 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6363, allocations: 15.44 kB / 0.822 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.6364, allocations: 0.6562 kB / 0.822 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/0.6364, allocations: 16.06 kB / 0.822 GB, free: 26.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.6364, allocations: 1.422 kB / 0.822 GB, free: 26.47 MB / 0.6387 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 5.719e-05/0.6365, allocations: 117.9 kB / 0.8221 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.6365, allocations: 9.062 kB / 0.8221 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.6365, allocations: 13.73 kB / 0.8221 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6365, allocations: 2.016 kB / 0.8221 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6366, allocations: 0 / 0.8221 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6366, allocations: 0.5625 kB / 0.8221 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.6367, allocations: 138.2 kB / 0.8222 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6367, allocations: 4.875 kB / 0.8222 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.6368, allocations: 15.34 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.6368, allocations: 0.75 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.6368, allocations: 4 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.6368, allocations: 1.609 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6368, allocations: 3.938 kB / 0.8223 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000346/0.6371, allocations: 202 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.6372, allocations: 1.938 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.6372, allocations: 2.203 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.6373, allocations: 15.22 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.6373, allocations: 3.453 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6373, allocations: 0.9375 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.338e-05/0.6374, allocations: 87.61 kB / 0.8226 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.6374, allocations: 4.5 kB / 0.8226 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002261/0.6376, allocations: 5.938 kB / 0.8226 GB, free: 25.91 MB / 0.6387 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 9.503e-05/0.6377, allocations: 93.59 kB / 0.8227 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.6381, allocations: 69.77 kB / 0.8227 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6381, allocations: 0.5 kB / 0.8227 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.6383, allocations: 38.42 kB / 0.8228 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.6386, allocations: 14.03 kB / 0.8228 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.639, allocations: 122.6 kB / 0.8229 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.6391, allocations: 0.6801 MB / 0.8236 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.915e-05/0.6392, allocations: 5.609 kB / 0.8236 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.6392, allocations: 13.03 kB / 0.8236 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.6392, allocations: 0.625 kB / 0.8236 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of Templates: time 0.004153/0.6433, allocations: 0.6941 MB / 0.8243 GB, free: 24.9 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.861624222248793] Failed to read output from testmodel.py, exit status != 0: 0.6523372158408165 0.668413244 0.032211197000000004 Calling exit ...