Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0008087/0.0008087, allocations: 96.36 kB / 19.7 MB, free: 452 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.0008374/0.0008374, allocations: 216.7 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.9633/0.9633, allocations: 230.6 MB / 256.8 MB, free: 9.625 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.7402/0.7402, allocations: 203.5 MB / 0.5046 GB, free: 10.7 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [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.0009903/0.0009903, allocations: 64.78 kB / 0.7191 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.491, allocations: 102 MB / 0.8186 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00138/0.4924, allocations: 0.6465 MB / 0.8193 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.493, allocations: 0.84 MB / 0.8201 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.493, allocations: 2.406 kB / 0.8201 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.493, allocations: 4.703 kB / 0.8201 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.4931, allocations: 7.922 kB / 0.8201 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.4934, allocations: 13.69 kB / 0.8201 GB, free: 492 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.304e-05/0.4934, allocations: 28.66 kB / 0.8201 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.4936, allocations: 3.828 kB / 0.8202 GB, free: 476 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.4936, allocations: 10.02 kB / 0.8202 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.803e-05/0.4937, allocations: 12.73 kB / 0.8202 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.4937, allocations: 1.906 kB / 0.8202 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.195e-05/0.4937, allocations: 4.891 kB / 0.8202 GB, free: 464 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.4938, allocations: 15.62 kB / 0.8202 GB, free: 452 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.4938, allocations: 4.594 kB / 0.8202 GB, free: 448 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.4939, allocations: 29.56 kB / 0.8202 GB, free: 440 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4939, allocations: 0 / 0.8202 GB, free: 440 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4939, allocations: 0 / 0.8202 GB, free: 440 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.4939, allocations: 0 / 0.8202 GB, free: 440 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004025/0.4943, allocations: 264.9 kB / 0.8205 GB, free: 168 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4944, allocations: 11.69 kB / 0.8205 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.4945, allocations: 5.094 kB / 0.8205 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.015e-05/0.4946, allocations: 117.1 kB / 0.8206 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4946, allocations: 2.688 kB / 0.8206 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.4946, allocations: 384 / 0.8206 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4947, allocations: 54.75 kB / 0.8207 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4948, allocations: 0.8906 kB / 0.8207 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.4948, allocations: 3.938 kB / 0.8207 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4948, allocations: 3.938 kB / 0.8207 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.864e-05/0.4949, allocations: 37.17 kB / 0.8207 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.4951, allocations: 190.4 kB / 0.8209 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.4952, allocations: 39.53 kB / 0.8209 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.965e-05/0.4953, allocations: 19.73 kB / 0.8209 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.4953, allocations: 4.594 kB / 0.821 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4953, allocations: 33.03 kB / 0.821 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4953, allocations: 0 / 0.821 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002477/0.4956, allocations: 83.34 kB / 0.8211 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.4956, allocations: 52.72 kB / 0.8211 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.4957, allocations: 105.5 kB / 0.8212 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.4957, allocations: 25.7 kB / 0.8212 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.4957, allocations: 83.98 kB / 0.8213 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.4957, allocations: 4.516 kB / 0.8213 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.4957, allocations: 17.8 kB / 0.8213 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.4958, allocations: 312.1 kB / 0.8216 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.232e-05/0.4959, allocations: 19.88 kB / 0.8217 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.4959, allocations: 18.02 kB / 0.8217 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/0.496, allocations: 44.06 kB / 0.8217 GB, free: 15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.496, allocations: 0 / 0.8217 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001127/0.4961, allocations: 73.12 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4961, allocations: 4.984 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4961, allocations: 0 / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4961, allocations: 0 / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.4962, allocations: 13.95 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4962, allocations: 3.984 kB / 0.8218 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.4962, allocations: 9.375 kB / 0.8218 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.4962, allocations: 4.734 kB / 0.8218 GB, free: 14.94 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 (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 4.932e-05/0.4963, allocations: 109.8 kB / 0.8219 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.4963, allocations: 6.156 kB / 0.8219 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.4965, allocations: 79.58 kB / 0.822 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4965, allocations: 0 / 0.822 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4965, allocations: 4.031 kB / 0.822 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4965, allocations: 0.7031 kB / 0.822 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.751e-05/0.4965, allocations: 105.5 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4965, allocations: 0 / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.4966, allocations: 9.531 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4966, allocations: 4.594 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.4966, allocations: 4 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.4966, allocations: 0 / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4966, allocations: 0.5625 kB / 0.8221 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.4967, allocations: 166.2 kB / 0.8223 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.4967, allocations: 22.78 kB / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.4967, allocations: 0.5625 kB / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.4968, allocations: 7.812 kB / 0.8223 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.4968, allocations: 5.312 kB / 0.8223 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-06/0.4968, allocations: 0 / 0.8223 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.909e-05/0.4969, allocations: 80.7 kB / 0.8224 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4969, allocations: 0 / 0.8224 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001375/0.497, allocations: 3.062 kB / 0.8224 GB, free: 14.4 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 (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 9.427e-05/0.4971, allocations: 96.91 kB / 0.8225 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.4972, allocations: 35.22 kB / 0.8225 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4972, allocations: 0.6562 kB / 0.8225 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.407e-05/0.4973, allocations: 25.98 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.4975, allocations: 5.125 kB / 0.8226 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.4977, allocations: 142.4 kB / 0.8227 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.4977, allocations: 61.06 kB / 0.8228 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.4978, allocations: 8.438 kB / 0.8228 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.4978, allocations: 0 / 0.8228 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of Templates: time 0.001454/0.4992, allocations: 0.5459 MB / 0.8233 GB, free: 14.04 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.624565426260233] Failed to read output from testmodel.py, exit status != 0: 0.507683867122978 0.523794569 0.026109375 Calling exit ...