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.0007504/0.0007504, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007697/0.0007697, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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 0.9722/0.9722, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7447/0.7447, allocations: 203.5 MB / 0.5046 GB, free: 10.68 MB / 410.7 MB " [Timeout remaining time 179] 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.0009573/0.0009573, allocations: 66.62 kB / 0.7191 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4957, allocations: 102 MB / 0.8186 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001469/0.4971, allocations: 0.6872 MB / 0.8193 GB, free: 1.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007563/0.4979, allocations: 0.8254 MB / 0.8201 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.4979, allocations: 2.688 kB / 0.8201 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.707e-05/0.498, allocations: 0 / 0.8201 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.498, allocations: 12.62 kB / 0.8201 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.133e-05/0.4981, allocations: 11.25 kB / 0.8201 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.4982, allocations: 41.95 kB / 0.8202 GB, free: 444 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.4983, allocations: 9.5 kB / 0.8202 GB, free: 440 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.4984, allocations: 22.36 kB / 0.8202 GB, free: 428 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.4984, allocations: 22.7 kB / 0.8202 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.4985, allocations: 3.906 kB / 0.8202 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-06/0.4985, allocations: 3.656 kB / 0.8202 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.4985, allocations: 10.66 kB / 0.8203 GB, free: 408 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.4985, allocations: 12.77 kB / 0.8203 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.4986, allocations: 45.25 kB / 0.8203 GB, free: 384 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4986, allocations: 0 / 0.8203 GB, free: 384 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4986, allocations: 3.938 kB / 0.8203 GB, free: 380 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4986, allocations: 0 / 0.8203 GB, free: 380 kB / 0.6042 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.0004104/0.499, allocations: 294.2 kB / 0.8206 GB, free: 96 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4991, allocations: 7.5 kB / 0.8206 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.4991, allocations: 7.828 kB / 0.8206 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.4992, allocations: 112.1 kB / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.4992, allocations: 0.8906 kB / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4992, allocations: 1.031 kB / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4994, allocations: 70.38 kB / 0.8208 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4994, allocations: 192 / 0.8208 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4994, allocations: 3.938 kB / 0.8208 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4995, allocations: 4 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.4996, allocations: 68.27 kB / 0.8209 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.4999, allocations: 210.6 kB / 0.8211 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.5, allocations: 57.67 kB / 0.8211 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.5001, allocations: 48.3 kB / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5001, allocations: 1.5 kB / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.5002, allocations: 32.16 kB / 0.8212 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.5002, allocations: 0 / 0.8212 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.000329/0.5005, allocations: 130.1 kB / 0.8213 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.5005, allocations: 55.41 kB / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.345e-05/0.5006, allocations: 110.7 kB / 0.8215 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.5006, allocations: 27.16 kB / 0.8215 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.5006, allocations: 87.36 kB / 0.8216 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.5007, allocations: 18.36 kB / 0.8216 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.5007, allocations: 13.27 kB / 0.8216 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.5008, allocations: 314.5 kB / 0.8219 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.5009, allocations: 29.5 kB / 0.8219 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.5009, allocations: 36.69 kB / 0.822 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.5011, allocations: 70.06 kB / 0.822 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5011, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001815/0.5013, allocations: 105.8 kB / 0.8221 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5013, allocations: 5.469 kB / 0.8221 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5013, allocations: 0 / 0.8221 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5013, allocations: 0.5625 kB / 0.8222 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.5014, allocations: 21.98 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5014, allocations: 4.812 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.5014, allocations: 10.58 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.5014, allocations: 0 / 0.8222 GB, free: 14.82 MB / 0.6198 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.592e-05/0.5015, allocations: 110.5 kB / 0.8223 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.5015, allocations: 13.45 kB / 0.8223 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.5015, allocations: 10.17 kB / 0.8223 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5015, allocations: 0.7031 kB / 0.8223 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.5016, allocations: 0 / 0.8223 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5016, allocations: 0.8438 kB / 0.8223 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.5017, allocations: 108.2 kB / 0.8224 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5017, allocations: 4.469 kB / 0.8224 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.5017, allocations: 25.33 kB / 0.8224 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5017, allocations: 0.75 kB / 0.8224 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.5017, allocations: 0 / 0.8224 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5017, allocations: 4 kB / 0.8225 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5017, allocations: 3.938 kB / 0.8225 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.5019, allocations: 187.1 kB / 0.8226 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.5019, allocations: 11.2 kB / 0.8226 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.502, allocations: 384 / 0.8226 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.502, allocations: 21.7 kB / 0.8227 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.502, allocations: 6.531 kB / 0.8227 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.502, allocations: 1.812 kB / 0.8227 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.5021, allocations: 87.28 kB / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5021, allocations: 0 / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001373/0.5022, allocations: 7.75 kB / 0.8228 GB, free: 14.3 MB / 0.6198 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.655e-05/0.5023, allocations: 96.14 kB / 0.8229 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.5025, allocations: 74.11 kB / 0.8229 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5025, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.5026, allocations: 34.17 kB / 0.823 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.5029, allocations: 13.36 kB / 0.823 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.5032, allocations: 151.6 kB / 0.8231 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.534e-05/0.5032, allocations: 68.08 kB / 0.8232 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.5032, allocations: 17.44 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of SimCode: time 4e-07/0.5032, allocations: 2 kB / 0.8232 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.001888/0.5051, allocations: 0.7543 MB / 0.8239 GB, free: 13.91 MB / 0.6198 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: 5.588715597055852] Failed to read output from testmodel.py, exit status != 0: 0.5118823661468923 0.523900678 0.023012192 Calling exit ...