Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0007634/0.0007634, 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.0007675/0.0007675, 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.8468/0.8468, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.762/0.762, 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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [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.0009566/0.0009566, allocations: 66.47 kB / 0.7191 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5122, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001422/0.5136, allocations: 0.6901 MB / 0.8193 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.5143, allocations: 0.8279 MB / 0.8201 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.5143, allocations: 0 / 0.8201 GB, free: 472 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.5144, allocations: 5.25 kB / 0.8201 GB, free: 468 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.473e-05/0.5144, allocations: 10.09 kB / 0.8201 GB, free: 460 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.5145, allocations: 10.62 kB / 0.8202 GB, free: 456 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.284e-05/0.5146, allocations: 42.86 kB / 0.8202 GB, free: 436 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.5147, allocations: 8.578 kB / 0.8202 GB, free: 432 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.5148, allocations: 21.62 kB / 0.8202 GB, free: 420 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.43e-05/0.5148, allocations: 18 kB / 0.8202 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.5148, allocations: 4.531 kB / 0.8202 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.5149, allocations: 4.844 kB / 0.8202 GB, free: 412 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.5149, allocations: 14.08 kB / 0.8203 GB, free: 400 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.5149, allocations: 16.48 kB / 0.8203 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.515, allocations: 40.34 kB / 0.8203 GB, free: 376 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.515, allocations: 1.188 kB / 0.8203 GB, free: 376 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.515, allocations: 0 / 0.8203 GB, free: 376 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.515, allocations: 0 / 0.8203 GB, free: 376 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.0004162/0.5155, allocations: 295.8 kB / 0.8206 GB, free: 88 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5155, allocations: 10.5 kB / 0.8206 GB, free: 88 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.5155, allocations: 7.203 kB / 0.8206 GB, free: 84 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.5157, allocations: 107.1 kB / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5157, allocations: 384 / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.5157, allocations: 2.375 kB / 0.8207 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.5159, allocations: 68.81 kB / 0.8208 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5159, allocations: 6.906 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.5159, allocations: 3.938 kB / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5159, allocations: 0 / 0.8208 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.5161, allocations: 66.59 kB / 0.8209 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.5164, allocations: 210.7 kB / 0.8211 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.5165, allocations: 55.56 kB / 0.8211 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.5166, allocations: 43.16 kB / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.5166, allocations: 2.812 kB / 0.8212 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.5166, allocations: 38.95 kB / 0.8212 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5166, allocations: 1.188 kB / 0.8212 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003302/0.5169, allocations: 132.1 kB / 0.8213 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.517, allocations: 52.11 kB / 0.8214 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.517, allocations: 111.7 kB / 0.8215 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.5171, allocations: 29.7 kB / 0.8215 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.5171, allocations: 86.2 kB / 0.8216 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.5171, allocations: 16.41 kB / 0.8216 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.5171, allocations: 14.36 kB / 0.8216 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.5172, allocations: 316.5 kB / 0.8219 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.5173, allocations: 36.77 kB / 0.822 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.5174, allocations: 35.72 kB / 0.822 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.5175, allocations: 66.2 kB / 0.8221 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.5175, allocations: 0 / 0.8221 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001867/0.5177, allocations: 109.9 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5177, allocations: 6.438 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5177, allocations: 0 / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.5178, allocations: 0.8438 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.5179, allocations: 16.52 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5179, allocations: 0 / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.655e-05/0.5179, allocations: 10.91 kB / 0.8222 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.5179, allocations: 1.844 kB / 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.737e-05/0.518, allocations: 121.5 kB / 0.8223 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.518, allocations: 8.5 kB / 0.8223 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.5182, allocations: 102.7 kB / 0.8224 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5182, allocations: 0.6094 kB / 0.8224 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5182, allocations: 0 / 0.8224 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5182, allocations: 0.7969 kB / 0.8224 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.173e-05/0.5183, allocations: 115.9 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5183, allocations: 0.7031 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.5183, allocations: 19.28 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5183, allocations: 3.531 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.5184, allocations: 0 / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5184, allocations: 0.6094 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5184, allocations: 320 / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.5186, allocations: 209.2 kB / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-06/0.5186, allocations: 7.875 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.5186, allocations: 1.969 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/0.5186, allocations: 9.344 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.5187, allocations: 5.391 kB / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.5187, allocations: 0 / 0.8228 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.5187, allocations: 90.92 kB / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5187, allocations: 0 / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001372/0.5188, allocations: 7.156 kB / 0.8229 GB, free: 14.26 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.594e-05/0.5189, allocations: 100.3 kB / 0.823 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.5191, allocations: 75.88 kB / 0.823 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5191, allocations: 0 / 0.823 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.5192, allocations: 32.95 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.5194, allocations: 12.5 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.5197, allocations: 153.5 kB / 0.8232 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.725e-05/0.5198, allocations: 65.67 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.5198, allocations: 8.938 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of SimCode: time 7.51e-07/0.5198, allocations: 0 / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.001908/0.5217, allocations: 0.7619 MB / 0.824 GB, free: 13.86 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.447179255075753] Failed to read output from testmodel.py, exit status != 0: 0.5266319760121405 0.536430334 0.019562787 Calling exit ...