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.0009328/0.0009328, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009317/0.0009317, allocations: 177.4 kB / 23.36 MB, free: 1.125 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.014/1.014, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.7574/0.7574, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.693e-06/1.693e-06, allocations: 0 / 480.1 MB, free: 6.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.978e-05, allocations: 8.422 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0012/0.00122, allocations: 0.662 MB / 480.7 MB, free: 6.234 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.002013, allocations: 0.8736 MB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.002042, allocations: 1.172 kB / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.002064, allocations: 0 / 481.6 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.002124, allocations: 6.312 kB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.002271, allocations: 16.47 kB / 481.6 MB, free: 5.332 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.00233, allocations: 17.16 kB / 481.6 MB, free: 5.32 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.002396, allocations: 16.95 kB / 481.7 MB, free: 5.305 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.437e-05/0.002461, allocations: 10.09 kB / 481.7 MB, free: 5.297 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.025e-05/0.002491, allocations: 8.859 kB / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.002502, allocations: 0 / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.678e-05/0.002539, allocations: 8 kB / 481.7 MB, free: 5.281 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.002553, allocations: 6.266 kB / 481.7 MB, free: 5.277 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.35e-05/0.002566, allocations: 8.75 kB / 481.7 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.002649, allocations: 21.17 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.002651, allocations: 1.156 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002651, allocations: 0 / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.002654, allocations: 0 / 481.7 MB, free: 5.25 MB / 442.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.0002418/0.002896, allocations: 237.3 kB / 482 MB, free: 4.996 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.002924, allocations: 10.16 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.002993, allocations: 9.266 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.807e-05/0.003061, allocations: 113.7 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.003069, allocations: 384 / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.003078, allocations: 4.375 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.00316, allocations: 49.41 kB / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.003165, allocations: 192 / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-06/0.003171, allocations: 384 / 482.1 MB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.003176, allocations: 5.469 kB / 482.1 MB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.96e-05/0.003195, allocations: 12.86 kB / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.003357, allocations: 140.9 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.003392, allocations: 27.48 kB / 482.3 MB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.188e-05/0.003404, allocations: 4.859 kB / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.003414, allocations: 1.062 kB / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.003433, allocations: 34.62 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.003433, allocations: 0.625 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.151e-05/0.003525, allocations: 46.22 kB / 482.4 MB, free: 4.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.003561, allocations: 55.34 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.003616, allocations: 105 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.003625, allocations: 26.3 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.507e-05/0.00365, allocations: 84.14 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.003663, allocations: 8.453 kB / 482.7 MB, free: 4.176 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.003684, allocations: 14.27 kB / 482.7 MB, free: 4.156 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.003763, allocations: 318.8 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.071e-06/0.003769, allocations: 0.875 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.003778, allocations: 4.016 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.199e-05/0.0038, allocations: 19.06 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003801, allocations: 0.6562 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.833e-05/0.00384, allocations: 41.64 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.00385, allocations: 4 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.003853, allocations: 0.9062 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.003863, allocations: 0 / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.452e-05/0.003918, allocations: 11.92 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.00392, allocations: 1.078 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.003935, allocations: 5.469 kB / 483.1 MB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.003938, allocations: 0 / 483.1 MB, free: 3.746 MB / 442.7 MB 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 7.353e-05/0.004012, allocations: 110.9 kB / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.004023, allocations: 0 / 483.2 MB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.00408, allocations: 47.75 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004082, allocations: 4 kB / 483.2 MB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.004084, allocations: 3.938 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.004088, allocations: 5.172 kB / 483.3 MB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.187e-05/0.00416, allocations: 65.91 kB / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.00416, allocations: 0 / 483.3 MB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.004177, allocations: 5.031 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.004178, allocations: 2.484 kB / 483.3 MB, free: 3.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.004183, allocations: 5.984 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004184, allocations: 0 / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004184, allocations: 4 kB / 483.3 MB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.783e-05/0.004242, allocations: 132.6 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.00425, allocations: 11.92 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-06/0.004256, allocations: 0 / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.818e-05/0.004285, allocations: 5.281 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/0.004306, allocations: 3.938 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.004308, allocations: 1.312 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.093e-05/0.004319, allocations: 21.5 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.004319, allocations: 0 / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001075/0.004426, allocations: 4.781 kB / 483.5 MB, free: 3.285 MB / 442.7 MB 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.839e-05/0.004495, allocations: 73.17 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.481e-05/0.00454, allocations: 17.36 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004541, allocations: 0.5 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.004553, allocations: 10.08 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.004669, allocations: 7.984 kB / 483.6 MB, free: 3.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.004974, allocations: 112.7 kB / 483.7 MB, free: 3.031 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.005002, allocations: 51.36 kB / 483.8 MB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.404e-05/0.005016, allocations: 3.984 kB / 483.8 MB, free: 2.957 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.005051, allocations: 52.56 kB / 483.8 MB, free: 2.906 MB / 442.7 MB Notification: Performance of SimCode: time 2.81e-07/0.005051, allocations: 1 kB / 483.8 MB, free: 2.906 MB / 442.7 MB Notification: Performance of Templates: time 0.001868/0.00692, allocations: 455.3 kB / 484.3 MB, free: 2.484 MB / 442.7 MB " [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.4997120313346386]