Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.000873/0.000873, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009203/0.0009203, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.8658/0.8658, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7276/0.7276, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.5204 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.367e-05, allocations: 4 kB / 0.5204 GB, free: 2.098 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.00448/0.004503, allocations: 0.6559 MB / 0.521 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008825/0.005386, allocations: 0.8602 MB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.005418, allocations: 4 kB / 0.5219 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.005447, allocations: 1.438 kB / 0.5219 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.005514, allocations: 8.203 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.00569, allocations: 11.94 kB / 0.5219 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.005766, allocations: 24.67 kB / 0.5219 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.005847, allocations: 7.984 kB / 0.5219 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.405e-05/0.005921, allocations: 17.45 kB / 0.5219 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.005953, allocations: 3.984 kB / 0.5219 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.005968, allocations: 4 kB / 0.5219 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.006008, allocations: 4 kB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.006025, allocations: 9.281 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.006043, allocations: 4 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.00614, allocations: 23.95 kB / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.006142, allocations: 0 / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.006142, allocations: 3.375 kB / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.006147, allocations: 0 / 0.522 GB, free: 488 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000341/0.006488, allocations: 356.6 kB / 0.5223 GB, free: 92 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.006526, allocations: 11.97 kB / 0.5223 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.517e-05/0.006621, allocations: 8.891 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.006715, allocations: 112.6 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.006727, allocations: 384 / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.006737, allocations: 384 / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.006866, allocations: 55.48 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.006875, allocations: 192 / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.006885, allocations: 4.938 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.006892, allocations: 0.9375 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.006921, allocations: 11.88 kB / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.01022, allocations: 248.7 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/0.01028, allocations: 32.53 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.0103, allocations: 15.73 kB / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.01032, allocations: 0 / 0.5228 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.01034, allocations: 33.39 kB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.01034, allocations: 4.938 kB / 0.5228 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.01049, allocations: 53.52 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01052, allocations: 52.47 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.01059, allocations: 157.9 kB / 0.5231 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.0106, allocations: 31.2 kB / 0.5231 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.01065, allocations: 130.9 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.01067, allocations: 3.953 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.01069, allocations: 15.38 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.01081, allocations: 0.4892 MB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.01082, allocations: 0 / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.258e-05/0.01084, allocations: 5.281 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/0.01086, allocations: 15.67 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01087, allocations: 0 / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.332e-05/0.01093, allocations: 42.98 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01094, allocations: 4 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01095, allocations: 3.938 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01096, allocations: 2.594 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.589e-05/0.01104, allocations: 11.98 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01104, allocations: 0 / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.01106, allocations: 0 / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.01106, allocations: 0 / 0.5238 GB, free: 14.39 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 (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 0.0001649/0.01123, allocations: 156.6 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.01125, allocations: 2.75 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.762e-05/0.01134, allocations: 56.47 kB / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01134, allocations: 0 / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01134, allocations: 0 / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.01135, allocations: 0 / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.01146, allocations: 120.6 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01146, allocations: 4 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.01148, allocations: 5.062 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.01148, allocations: 3.938 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01149, allocations: 3.984 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01149, allocations: 4.875 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0115, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.061e-05/0.01159, allocations: 184.9 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.01159, allocations: 3.938 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.0116, allocations: 4.484 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.01165, allocations: 12.59 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.01168, allocations: 3.938 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.01169, allocations: 1.281 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.01172, allocations: 131.2 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01172, allocations: 0 / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002089/0.01193, allocations: 6.438 kB / 0.5245 GB, free: 13.64 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 (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 6.687e-05/0.012, allocations: 91.25 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.01208, allocations: 15.69 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.01208, allocations: 0 / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.0121, allocations: 14.66 kB / 0.5246 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.01234, allocations: 16.77 kB / 0.5246 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.0126, allocations: 122.2 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.01264, allocations: 55.36 kB / 0.5248 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.549e-05/0.01265, allocations: 0 / 0.5248 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.01268, allocations: 9.094 kB / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01268, allocations: 1.375 kB / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.005281/0.01796, allocations: 0.5065 MB / 0.5253 GB, free: 12.79 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.414024490863085]