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.0009781/0.0009781, allocations: 93.06 kB / 19.65 MB, free: 280 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.001093/0.001093, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 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.063/1.063, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.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-545:108: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-545:116: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.8901/0.8901, allocations: 154.6 MB / 414.5 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.5204 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.289e-05, allocations: 4.328 kB / 0.5204 GB, free: 2.156 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.004736/0.004769, allocations: 0.6955 MB / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009773/0.005746, allocations: 0.8536 MB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.005784, allocations: 4 kB / 0.5219 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.267e-05/0.005817, allocations: 3.938 kB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.928e-05/0.005886, allocations: 3.938 kB / 0.5219 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.005998, allocations: 11.98 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.311e-05/0.006081, allocations: 48.41 kB / 0.522 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.0062, allocations: 4 kB / 0.522 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.006285, allocations: 28.53 kB / 0.522 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.00634, allocations: 20.81 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.00636, allocations: 4 kB / 0.522 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.006372, allocations: 7.938 kB / 0.522 GB, free: 500 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.00639, allocations: 5.562 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.006417, allocations: 15.92 kB / 0.5221 GB, free: 480 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.144e-05/0.006508, allocations: 27.91 kB / 0.5221 GB, free: 452 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.006511, allocations: 0 / 0.5221 GB, free: 452 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006511, allocations: 0.9375 kB / 0.5221 GB, free: 452 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.006516, allocations: 0 / 0.5221 GB, free: 452 kB / 490.7 MB 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.0004103/0.006926, allocations: 370 kB / 0.5224 GB, free: 44 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.006968, allocations: 12.03 kB / 0.5224 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.00701, allocations: 12.89 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.01014, allocations: 116.5 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.01016, allocations: 5.531 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.01017, allocations: 384 / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.01036, allocations: 71.61 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.01037, allocations: 4.125 kB / 0.5226 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.01038, allocations: 1.656 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.01039, allocations: 384 / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.01043, allocations: 7.938 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.01078, allocations: 257.2 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.132e-05/0.01087, allocations: 39.05 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.0109, allocations: 15.62 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01092, allocations: 4.625 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.01095, allocations: 37.39 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.01095, allocations: 1.844 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001979/0.01115, allocations: 49.72 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.01118, allocations: 51.41 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.01127, allocations: 166.2 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01128, allocations: 25.7 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.01134, allocations: 140.7 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.01136, allocations: 7.938 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.0114, allocations: 23.38 kB / 0.5234 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.01154, allocations: 492.1 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.01157, allocations: 15.94 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.01159, allocations: 9.641 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.086e-05/0.01163, allocations: 15.77 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01163, allocations: 0 / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.314e-05/0.01171, allocations: 50.61 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.01173, allocations: 7.938 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.01173, allocations: 0 / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01175, allocations: 5.312 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01185, allocations: 4 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01186, allocations: 8.062 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.184e-05/0.01189, allocations: 16.36 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.0119, allocations: 0.5 kB / 0.524 GB, free: 14.24 MB / 0.4948 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 7.874e-05/0.01198, allocations: 157.6 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.012, allocations: 4 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.01211, allocations: 53.61 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01211, allocations: 5.219 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01212, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.01212, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.01224, allocations: 118.5 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01224, allocations: 4 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.01229, allocations: 11.98 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01229, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.0123, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.0123, allocations: 6.375 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0123, allocations: 3.938 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.01242, allocations: 195.9 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.01242, allocations: 8 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.01244, allocations: 0 / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.915e-05/0.0125, allocations: 11.92 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.01253, allocations: 2.375 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.01254, allocations: 4 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.01258, allocations: 131.2 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01258, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002146/0.0128, allocations: 8 kB / 0.5247 GB, free: 13.47 MB / 0.4948 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.003112/0.01591, allocations: 92.28 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.01602, allocations: 27.61 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01602, allocations: 0.9375 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.01605, allocations: 11.69 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01632, allocations: 17.03 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.01663, allocations: 138.1 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.936e-05/0.01667, allocations: 55.36 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.0167, allocations: 3.984 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.01673, allocations: 19.25 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of SimCode: time 9.01e-07/0.01674, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.005702/0.02244, allocations: 0.7303 MB / 0.5258 GB, free: 12.36 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.037443563342094]