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.001412/0.001412, 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.0009422/0.0009422, allocations: 169 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 0.9501/0.9501, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7691/0.7691, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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 2.064e-06/2.064e-06, allocations: 0.7656 kB / 0.5204 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.513e-05, allocations: 4.141 kB / 0.5204 GB, free: 2.109 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.00139/0.001416, allocations: 0.6506 MB / 0.521 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.002378, allocations: 0.865 MB / 0.5219 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.002413, allocations: 0 / 0.5219 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.002447, allocations: 6.172 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.197e-05/0.002519, allocations: 8.359 kB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.002726, allocations: 11.94 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.002793, allocations: 27.92 kB / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.616e-05/0.00289, allocations: 4.797 kB / 0.5219 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.002964, allocations: 11.98 kB / 0.5219 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.002998, allocations: 12.92 kB / 0.5219 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.003013, allocations: 4 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.46e-05/0.003058, allocations: 4 kB / 0.522 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.003074, allocations: 8.938 kB / 0.522 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.842e-05/0.003093, allocations: 3.938 kB / 0.522 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003204, allocations: 28.52 kB / 0.522 GB, free: 492 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003206, allocations: 0 / 0.522 GB, free: 492 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003206, allocations: 1.719 kB / 0.522 GB, free: 492 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.003211, allocations: 0 / 0.522 GB, free: 492 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.0003408/0.003552, allocations: 352.6 kB / 0.5223 GB, free: 100 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.003591, allocations: 8.031 kB / 0.5223 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.003694, allocations: 13.39 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.507e-05/0.00379, allocations: 113.6 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.003801, allocations: 4.312 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.003812, allocations: 384 / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.00393, allocations: 51.83 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.003941, allocations: 4.188 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.003953, allocations: 5 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.003963, allocations: 4.375 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.914e-05/0.003992, allocations: 8.562 kB / 0.5225 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.004307, allocations: 243.8 kB / 0.5228 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.365e-05/0.004361, allocations: 32.31 kB / 0.5228 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.004382, allocations: 11.75 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.004406, allocations: 1.812 kB / 0.5228 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.004431, allocations: 41.38 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.004432, allocations: 3.938 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.004594, allocations: 49.58 kB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.004627, allocations: 53.16 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.004707, allocations: 153.9 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.004718, allocations: 25.7 kB / 0.5231 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.004766, allocations: 138.9 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.004786, allocations: 7.891 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.004814, allocations: 20.12 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.004935, allocations: 496.1 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.004948, allocations: 1.406 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.705e-05/0.004965, allocations: 4 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.004996, allocations: 20.95 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.004998, allocations: 0 / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.809e-05/0.005056, allocations: 37.7 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.005071, allocations: 5.75 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.005078, allocations: 3.938 kB / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.005096, allocations: 0 / 0.5238 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.005171, allocations: 8 kB / 0.5238 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.005179, allocations: 3.984 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.005194, allocations: 2.188 kB / 0.5238 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.0052, allocations: 4 kB / 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 5.84e-05/0.005259, allocations: 152.6 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.005272, allocations: 0 / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.005357, allocations: 57 kB / 0.524 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.005359, allocations: 3.938 kB / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005364, allocations: 1.031 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.005367, allocations: 4 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.613e-05/0.005453, allocations: 121.6 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005455, allocations: 0 / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.896e-05/0.005474, allocations: 4 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005475, allocations: 3.25 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.005481, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005483, allocations: 3.938 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.005484, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.005565, allocations: 191.9 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-06/0.00557, allocations: 0 / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.005578, allocations: 0 / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.00561, allocations: 15.92 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.005641, allocations: 3.031 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.005642, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.005673, allocations: 123.2 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005673, allocations: 0 / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001349/0.005808, allocations: 8 kB / 0.5245 GB, free: 13.66 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 7.055e-05/0.005878, allocations: 95.23 kB / 0.5246 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.005955, allocations: 17.19 kB / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005956, allocations: 0 / 0.5246 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.641e-05/0.005973, allocations: 15.62 kB / 0.5246 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.006149, allocations: 11.7 kB / 0.5246 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.006585, allocations: 123.4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.549e-05/0.00662, allocations: 58.02 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.507e-05/0.006635, allocations: 0 / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.006661, allocations: 12.5 kB / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.021e-06/0.006662, allocations: 0 / 0.5248 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.002055/0.008717, allocations: 486.4 kB / 0.5253 GB, free: 12.83 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.903168609365821]