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.001449/0.001449, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001718/0.001718, allocations: 210.9 kB / 22.24 MB, free: 4.875 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.812 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.317/1.317, allocations: 203.8 MB / 0.5042 GB, free: 4.602 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: 63.91 kB / 0.7187 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6563/0.6584, allocations: 102 MB / 0.8183 GB, free: 28.93 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002168/0.6606, allocations: 0.6954 MB / 0.819 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.6618, allocations: 0.8285 MB / 0.8198 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.6619, allocations: 0 / 0.8198 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.6619, allocations: 1.031 kB / 0.8198 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.248e-05/0.662, allocations: 14.14 kB / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 7.677e-05/0.662, allocations: 17.97 kB / 0.8198 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.6622, allocations: 40.08 kB / 0.8199 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.6623, allocations: 9.656 kB / 0.8199 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.6624, allocations: 19.77 kB / 0.8199 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.6624, allocations: 17.73 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.6624, allocations: 2.812 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.6624, allocations: 4 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.002e-05/0.6625, allocations: 11.42 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.6625, allocations: 13.31 kB / 0.8199 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.6626, allocations: 44.41 kB / 0.82 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6626, allocations: 0 / 0.82 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6626, allocations: 3.938 kB / 0.82 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.6626, allocations: 1 kB / 0.82 GB, free: 27.8 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.0005265/0.6632, allocations: 298.9 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6632, allocations: 11.69 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.6632, allocations: 6.922 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/0.6633, allocations: 106.7 kB / 0.8204 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.6633, allocations: 2.062 kB / 0.8204 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.6634, allocations: 2 kB / 0.8204 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.6636, allocations: 69.95 kB / 0.8205 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.6636, allocations: 192 / 0.8205 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.6637, allocations: 4.75 kB / 0.8205 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6637, allocations: 5.953 kB / 0.8205 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.664, allocations: 67.84 kB / 0.8205 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.6644, allocations: 211.7 kB / 0.8207 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.6646, allocations: 51.64 kB / 0.8208 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.6647, allocations: 41.44 kB / 0.8208 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.6648, allocations: 0.6875 kB / 0.8208 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.6648, allocations: 33.62 kB / 0.8209 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.6648, allocations: 0 / 0.8209 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005947/0.6654, allocations: 136 kB / 0.821 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.6654, allocations: 51.41 kB / 0.821 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.6655, allocations: 108.2 kB / 0.8211 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.6655, allocations: 26.2 kB / 0.8212 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.6655, allocations: 88.14 kB / 0.8212 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.6656, allocations: 13.56 kB / 0.8213 GB, free: 26.69 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.6656, allocations: 18.23 kB / 0.8213 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.6656, allocations: 317.6 kB / 0.8216 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.6658, allocations: 30.62 kB / 0.8216 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.6659, allocations: 31.98 kB / 0.8216 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.6662, allocations: 77.86 kB / 0.8217 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6662, allocations: 0 / 0.8217 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003283/0.6666, allocations: 101.6 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6666, allocations: 5.531 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6666, allocations: 1.734 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.6666, allocations: 3.875 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.6667, allocations: 14.88 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.6667, allocations: 1.859 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.6668, allocations: 10.62 kB / 0.8218 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.6668, allocations: 1.375 kB / 0.8218 GB, free: 26.28 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.754e-05/0.6669, allocations: 113.6 kB / 0.822 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.6669, allocations: 10.5 kB / 0.822 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.6669, allocations: 10.22 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6669, allocations: 1.891 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6669, allocations: 0 / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6669, allocations: 7.094 kB / 0.822 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.6671, allocations: 112 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6671, allocations: 5.719 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.6672, allocations: 18.53 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6672, allocations: 1.766 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6672, allocations: 3.594 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6672, allocations: 0.9375 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6672, allocations: 0.7969 kB / 0.8221 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.6675, allocations: 194.2 kB / 0.8223 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.6676, allocations: 6.375 kB / 0.8223 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.6676, allocations: 5.5 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6677, allocations: 15.34 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.6677, allocations: 4.422 kB / 0.8223 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.6677, allocations: 5.031 kB / 0.8223 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.81e-05/0.6678, allocations: 83.98 kB / 0.8224 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6678, allocations: 0.5938 kB / 0.8224 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002218/0.668, allocations: 6 kB / 0.8224 GB, free: 25.77 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 0.0001161/0.6681, allocations: 101.1 kB / 0.8225 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.6685, allocations: 69.83 kB / 0.8226 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6685, allocations: 0.5312 kB / 0.8226 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.6687, allocations: 34.2 kB / 0.8226 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.669, allocations: 5.172 kB / 0.8226 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.6693, allocations: 134.3 kB / 0.8228 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.24e-05/0.6694, allocations: 76.41 kB / 0.8228 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.6694, allocations: 2.172 kB / 0.8228 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.256e-05/0.6694, allocations: 8.656 kB / 0.8228 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of SimCode: time 3.81e-07/0.6694, allocations: 0 / 0.8228 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of Templates: time 0.003543/0.673, allocations: 0.743 MB / 0.8236 GB, free: 25.35 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.895714785903692] Failed to read output from testmodel.py, exit status != 0: 0.6813006363809109 0.707057237 0.039483587 Calling exit ...