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.0009483/0.0009483, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007569/0.0007569, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8557/0.8557, allocations: 177.1 MB / 203.5 MB, free: 5.727 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-531:686: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-531:694: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.7028/0.7028, allocations: 154.6 MB / 414.5 MB, free: 0.7734 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 3.447e-06/3.447e-06, allocations: 0 / 0.6194 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.964e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001419/0.001448, allocations: 0.6524 MB / 0.62 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008133/0.002262, allocations: 0.8471 MB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.002293, allocations: 0 / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.002319, allocations: 0 / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.802e-05/0.002377, allocations: 3.938 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.002573, allocations: 19.92 kB / 0.6209 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.977e-05/0.002643, allocations: 23.94 kB / 0.6209 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.002734, allocations: 11.97 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.0028, allocations: 8 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.161e-05/0.002832, allocations: 7.984 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.002846, allocations: 4 kB / 0.6209 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.002887, allocations: 4 kB / 0.6209 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.002902, allocations: 7.938 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.002921, allocations: 7.984 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003024, allocations: 27.89 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.003027, allocations: 4 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.292e-06/0.003028, allocations: 0 / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.003033, allocations: 0 / 0.621 GB, free: 11.4 MB / 0.5886 GB 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.0003602/0.003393, allocations: 258.4 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.003428, allocations: 11.97 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.003514, allocations: 8.891 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/0.003591, allocations: 113.7 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.003602, allocations: 4.375 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.003612, allocations: 8.25 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.00374, allocations: 54.23 kB / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.003747, allocations: 192 / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.003755, allocations: 384 / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.00376, allocations: 384 / 0.6214 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.003848, allocations: 35.91 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.004111, allocations: 188.6 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.004195, allocations: 38.5 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.004241, allocations: 24.91 kB / 0.6217 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.004259, allocations: 4 kB / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.004279, allocations: 34.55 kB / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004279, allocations: 0 / 0.6217 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002227/0.004502, allocations: 81.59 kB / 0.6218 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.004531, allocations: 51.41 kB / 0.6219 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.004585, allocations: 101.8 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.004596, allocations: 29.83 kB / 0.622 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.004632, allocations: 92.09 kB / 0.6221 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.004648, allocations: 3.953 kB / 0.6221 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.004673, allocations: 17.7 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004225/0.005096, allocations: 314.8 kB / 0.6224 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.005142, allocations: 11.98 kB / 0.6224 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.005177, allocations: 15.98 kB / 0.6224 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.526e-05/0.005252, allocations: 44.88 kB / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005254, allocations: 0 / 0.6225 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.933e-05/0.005353, allocations: 61.67 kB / 0.6225 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.005368, allocations: 4 kB / 0.6225 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.005376, allocations: 3.938 kB / 0.6225 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.005389, allocations: 7.984 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.005453, allocations: 11.94 kB / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.005458, allocations: 0 / 0.6226 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.00548, allocations: 12.02 kB / 0.6226 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.005484, allocations: 0 / 0.6226 GB, free: 9.609 MB / 0.5886 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.148e-05/0.005536, allocations: 114.8 kB / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.005548, allocations: 0 / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.005683, allocations: 76.86 kB / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.005685, allocations: 0 / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.005689, allocations: 7.922 kB / 0.6228 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005692, allocations: 0 / 0.6228 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.119e-05/0.005773, allocations: 109.3 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005774, allocations: 0 / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.005802, allocations: 11.98 kB / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.005803, allocations: 192 / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.005809, allocations: 0 / 0.6229 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.005813, allocations: 7.875 kB / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.005814, allocations: 0 / 0.6229 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.005937, allocations: 167.5 kB / 0.623 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.005944, allocations: 8.031 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.005953, allocations: 0 / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.005991, allocations: 11.92 kB / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.006022, allocations: 0 / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.006026, allocations: 0 / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.619e-05/0.006052, allocations: 87.27 kB / 0.6231 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006052, allocations: 0 / 0.6231 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001362/0.006188, allocations: 4 kB / 0.6232 GB, free: 8.953 MB / 0.5886 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.207e-05/0.00627, allocations: 91.25 kB / 0.6232 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.006398, allocations: 43.89 kB / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.006401, allocations: 4 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.006439, allocations: 15.98 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.006654, allocations: 6.391 kB / 0.6233 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002422/0.006896, allocations: 137.5 kB / 0.6234 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.006937, allocations: 63.47 kB / 0.6235 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.006962, allocations: 12.5 kB / 0.6235 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.006963, allocations: 0 / 0.6235 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of Templates: time 0.001354/0.008316, allocations: 0.5634 MB / 0.6241 GB, free: 7.973 MB / 0.5886 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8897925186902285] Failed to read output from testmodel.py, exit status != 0: 0.013991016894578934 0.022715926 0.017800434 Calling exit ...