Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00201/0.00201, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002562/0.002562, allocations: 215.6 kB / 22.24 MB, free: 5.258 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.271/1.271, allocations: 203.5 MB / 0.5038 GB, free: 4.93 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.002357/0.002357, allocations: 75.88 kB / 0.7183 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7017, allocations: 102 MB / 0.8179 GB, free: 29.14 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.002125/0.7038, allocations: 0.6849 MB / 0.8186 GB, free: 28.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.705, allocations: 0.827 MB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.705, allocations: 2.531 kB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.705, allocations: 3.938 kB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.7051, allocations: 5.703 kB / 0.8194 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 7.611e-05/0.7052, allocations: 15.7 kB / 0.8194 GB, free: 28.1 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.7053, allocations: 48.44 kB / 0.8194 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.7054, allocations: 11.41 kB / 0.8194 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.64e-05/0.7055, allocations: 17.97 kB / 0.8195 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.7056, allocations: 20.44 kB / 0.8195 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.7056, allocations: 3.875 kB / 0.8195 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.7056, allocations: 3.094 kB / 0.8195 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.7056, allocations: 6.828 kB / 0.8195 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.7057, allocations: 21.64 kB / 0.8195 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.7058, allocations: 40.38 kB / 0.8196 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.7058, allocations: 1.625 kB / 0.8196 GB, free: 28.03 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7058, allocations: 5.156 kB / 0.8196 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.7058, allocations: 0 / 0.8196 GB, free: 28.02 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.0005406/0.7063, allocations: 289.9 kB / 0.8198 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7064, allocations: 10.94 kB / 0.8198 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.7064, allocations: 7.359 kB / 0.8199 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.7065, allocations: 106.8 kB / 0.82 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.7065, allocations: 5.531 kB / 0.82 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.7065, allocations: 2.562 kB / 0.82 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.7068, allocations: 75.05 kB / 0.82 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.7068, allocations: 192 / 0.82 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.7068, allocations: 4.734 kB / 0.82 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.7068, allocations: 1.469 kB / 0.82 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.7072, allocations: 63.5 kB / 0.8201 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.7076, allocations: 209.8 kB / 0.8203 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.7078, allocations: 58.25 kB / 0.8204 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.708, allocations: 46.09 kB / 0.8204 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.708, allocations: 0 / 0.8204 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.708, allocations: 33.12 kB / 0.8204 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.708, allocations: 2.125 kB / 0.8204 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0006028/0.7086, allocations: 124.5 kB / 0.8206 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.7087, allocations: 54.38 kB / 0.8206 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.7088, allocations: 114.7 kB / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.7088, allocations: 26.2 kB / 0.8207 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.7088, allocations: 91.22 kB / 0.8208 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.7089, allocations: 15.02 kB / 0.8208 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.7089, allocations: 20.8 kB / 0.8209 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/0.709, allocations: 313.3 kB / 0.8212 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.7091, allocations: 31.62 kB / 0.8212 GB, free: 26.58 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.7093, allocations: 31.83 kB / 0.8212 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.7096, allocations: 68.25 kB / 0.8213 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7096, allocations: 1.062 kB / 0.8213 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003555/0.7099, allocations: 99.88 kB / 0.8214 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.71, allocations: 5.781 kB / 0.8214 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.71, allocations: 4.594 kB / 0.8214 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.71, allocations: 0.6875 kB / 0.8214 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.7102, allocations: 15.27 kB / 0.8214 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.7102, allocations: 5.25 kB / 0.8214 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.7103, allocations: 15.45 kB / 0.8214 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.7103, allocations: 2.156 kB / 0.8214 GB, free: 26.51 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 8.044e-05/0.7104, allocations: 108.5 kB / 0.8215 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.7104, allocations: 10.05 kB / 0.8215 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.7104, allocations: 10.08 kB / 0.8216 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.7104, allocations: 5.859 kB / 0.8216 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.7104, allocations: 4 kB / 0.8216 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7104, allocations: 0.6875 kB / 0.8216 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.7106, allocations: 112.2 kB / 0.8217 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.7106, allocations: 0.7969 kB / 0.8217 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.7107, allocations: 20.08 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.7107, allocations: 0 / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.7107, allocations: 1.156 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.7107, allocations: 0.6094 kB / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7107, allocations: 0 / 0.8217 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.7112, allocations: 204.2 kB / 0.8219 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.7112, allocations: 6.281 kB / 0.8219 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.7112, allocations: 0 / 0.8219 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.7113, allocations: 12.41 kB / 0.8219 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.7114, allocations: 7.734 kB / 0.8219 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.7114, allocations: 5.141 kB / 0.8219 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.204e-05/0.7114, allocations: 87.72 kB / 0.822 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7114, allocations: 0 / 0.822 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002174/0.7116, allocations: 6.469 kB / 0.822 GB, free: 25.99 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.0001297/0.7118, allocations: 102.2 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.7122, allocations: 66.58 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.7122, allocations: 0 / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001786/0.7124, allocations: 38.02 kB / 0.8222 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.7127, allocations: 14.59 kB / 0.8222 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.7132, allocations: 134.1 kB / 0.8223 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.048e-05/0.7132, allocations: 67.8 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.7133, allocations: 1.875 kB / 0.8224 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.7133, allocations: 9.094 kB / 0.8224 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.7133, allocations: 0.5625 kB / 0.8224 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of Templates: time 0.004082/0.7174, allocations: 0.7508 MB / 0.8232 GB, free: 25.57 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.087346516549587] Failed to read output from testmodel.py, exit status != 0: 0.7267360370606184 0.739521137 0.031000426 Calling exit ...