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.001047/0.001047, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001112/0.001112, allocations: 173 kB / 23.49 MB, free: 1.059 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.9571/0.9571, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.8141/0.8141, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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.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: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0.875 kB / 0.5204 GB, free: 2.445 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.816e-05, allocations: 4.422 kB / 0.5204 GB, free: 2.441 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001106/0.001124, allocations: 0.6461 MB / 0.521 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007957/0.00192, allocations: 0.8654 MB / 0.5219 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.001955, allocations: 0 / 0.5219 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.00198, allocations: 4.938 kB / 0.5219 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.002041, allocations: 11.92 kB / 0.5219 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.002205, allocations: 12.89 kB / 0.5219 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.002272, allocations: 27.92 kB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.139e-05/0.002353, allocations: 0 / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.002423, allocations: 24.55 kB / 0.522 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.002454, allocations: 9.047 kB / 0.522 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.002469, allocations: 4 kB / 0.522 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.049e-05/0.002529, allocations: 4 kB / 0.522 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.002544, allocations: 8.484 kB / 0.522 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.002562, allocations: 4 kB / 0.522 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.706e-05/0.002659, allocations: 20.66 kB / 0.522 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002661, allocations: 0 / 0.522 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.002662, allocations: 5.156 kB / 0.522 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.002665, allocations: 0 / 0.522 GB, free: 0.8125 MB / 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.0003303/0.002996, allocations: 356.6 kB / 0.5224 GB, free: 436 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.00303, allocations: 12.66 kB / 0.5224 GB, free: 424 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.808e-05/0.003118, allocations: 6.703 kB / 0.5224 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.003199, allocations: 112.6 kB / 0.5225 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.00321, allocations: 384 / 0.5225 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.003218, allocations: 4.375 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.003327, allocations: 58.88 kB / 0.5225 GB, free: 208 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.003334, allocations: 5.906 kB / 0.5225 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.003342, allocations: 384 / 0.5225 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.00335, allocations: 384 / 0.5225 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.003379, allocations: 7.938 kB / 0.5226 GB, free: 196 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.003671, allocations: 249.3 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.712e-05/0.003718, allocations: 27.06 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.003737, allocations: 7.688 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.003753, allocations: 4.688 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.003775, allocations: 41.45 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.003776, allocations: 1.469 kB / 0.5229 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.003917, allocations: 49.58 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.003948, allocations: 51.41 kB / 0.523 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.004013, allocations: 155.3 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.004022, allocations: 33.7 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.004062, allocations: 130.9 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.004078, allocations: 7.891 kB / 0.5233 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.004103, allocations: 22.75 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.004204, allocations: 496.1 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.004216, allocations: 0 / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.737e-06/0.004224, allocations: 7.938 kB / 0.5238 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.667e-05/0.004251, allocations: 15.67 kB / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.004252, allocations: 0 / 0.5238 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.407e-05/0.004297, allocations: 37.7 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.004308, allocations: 4.531 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.004314, allocations: 7.938 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.004326, allocations: 0.5625 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.004388, allocations: 8.531 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.004394, allocations: 3.984 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.00441, allocations: 5.375 kB / 0.5239 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.004414, allocations: 0 / 0.5239 GB, free: 14.72 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 5.47e-05/0.004469, allocations: 159.1 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.004484, allocations: 4 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.004558, allocations: 48.53 kB / 0.5241 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.00456, allocations: 4 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.004563, allocations: 0 / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.004566, allocations: 0 / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.97e-05/0.004656, allocations: 124.6 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.004657, allocations: 2.75 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.004675, allocations: 4 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.004677, allocations: 0 / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.004683, allocations: 0 / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.004684, allocations: 3.938 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004685, allocations: 0 / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.004767, allocations: 191.9 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-06/0.004771, allocations: 1.062 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.004782, allocations: 4 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.092e-05/0.004813, allocations: 8.859 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.004846, allocations: 0 / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.004848, allocations: 4 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.004883, allocations: 124.3 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.004883, allocations: 4 kB / 0.5245 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001443/0.005027, allocations: 0.6562 kB / 0.5245 GB, free: 13.99 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 8.549e-05/0.005113, allocations: 99.89 kB / 0.5246 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.467e-05/0.005197, allocations: 16.91 kB / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.005199, allocations: 0 / 0.5246 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.005218, allocations: 14.12 kB / 0.5246 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.00545, allocations: 11.98 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.00595, allocations: 126.3 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.005982, allocations: 58.33 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.503e-05/0.005997, allocations: 144 / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.00602, allocations: 12.5 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/0.006021, allocations: 0 / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.001829/0.00785, allocations: 489.2 kB / 0.5253 GB, free: 13.15 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8683738918043673]