Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.001333/0.001333, allocations: 84.28 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001612/0.001612, allocations: 169.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.202/1.202, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 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 178] 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.826e-06/2.826e-06, allocations: 0 / 0.6186 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.228e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001731/0.001763, allocations: 0.6569 MB / 0.6193 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.002946, allocations: 0.8432 MB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.002981, allocations: 0 / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.339e-05/0.003004, allocations: 3.938 kB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-05/0.003059, allocations: 0 / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.003224, allocations: 15.92 kB / 0.6201 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.518e-05/0.003299, allocations: 31.92 kB / 0.6202 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.003387, allocations: 7.984 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.94e-05/0.003456, allocations: 8 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.058e-05/0.003497, allocations: 11.98 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.003511, allocations: 0 / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.003556, allocations: 8 kB / 0.6202 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.003571, allocations: 4 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.00359, allocations: 7.922 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.00372, allocations: 35.83 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003723, allocations: 0 / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003724, allocations: 4 kB / 0.6202 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003728, allocations: 0 / 0.6202 GB, free: 2.852 MB / 0.5294 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.0004538/0.004182, allocations: 262.3 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.00422, allocations: 8.031 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.004299, allocations: 8.891 kB / 0.6205 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.004404, allocations: 109.7 kB / 0.6206 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.004419, allocations: 4.375 kB / 0.6206 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.00443, allocations: 384 / 0.6206 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.004616, allocations: 50.19 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.004624, allocations: 4.188 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004634, allocations: 4.359 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004638, allocations: 384 / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.004815, allocations: 39.84 kB / 0.6207 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.005137, allocations: 192.6 kB / 0.6209 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.005276, allocations: 38.5 kB / 0.6209 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.005366, allocations: 16.91 kB / 0.6209 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.005386, allocations: 4 kB / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.005418, allocations: 38.56 kB / 0.621 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005419, allocations: 0 / 0.621 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003714/0.00579, allocations: 85.52 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.005829, allocations: 51.41 kB / 0.6211 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.005917, allocations: 105.8 kB / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.005949, allocations: 25.7 kB / 0.6212 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.005999, allocations: 84.27 kB / 0.6213 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.006017, allocations: 11.95 kB / 0.6213 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.006048, allocations: 9.719 kB / 0.6213 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.006199, allocations: 318.8 kB / 0.6217 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.006285, allocations: 15.98 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.387e-05/0.006359, allocations: 11.98 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.006529, allocations: 44.77 kB / 0.6217 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.006531, allocations: 4.062 kB / 0.6217 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002037/0.006734, allocations: 69.61 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.006748, allocations: 4 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.006754, allocations: 3.938 kB / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.006768, allocations: 0 / 0.6218 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.006861, allocations: 11.98 kB / 0.6218 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.006867, allocations: 0 / 0.6218 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.006917, allocations: 8.016 kB / 0.6218 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.006922, allocations: 4 kB / 0.6218 GB, free: 1.059 MB / 0.5294 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 9.511e-05/0.007017, allocations: 111.7 kB / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.00704, allocations: 0 / 0.6219 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.007282, allocations: 76.84 kB / 0.622 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.007287, allocations: 4 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.00729, allocations: 0 / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007292, allocations: 0 / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.007446, allocations: 105.3 kB / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007447, allocations: 4.031 kB / 0.6221 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.968e-05/0.007506, allocations: 7.984 kB / 0.6221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.007508, allocations: 4 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.007515, allocations: 0 / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.00752, allocations: 15.81 kB / 0.6221 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007521, allocations: 0 / 0.6221 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.007769, allocations: 155.5 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-06/0.007776, allocations: 7.891 kB / 0.6223 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.00779, allocations: 8.031 kB / 0.6223 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.007883, allocations: 15.92 kB / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/0.007921, allocations: 0 / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.007924, allocations: 0 / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.119e-05/0.007975, allocations: 87.27 kB / 0.6224 GB, free: 416 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.007975, allocations: 0 / 0.6224 GB, free: 416 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000214/0.008189, allocations: 4 kB / 0.6224 GB, free: 412 kB / 0.5294 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 0.0001354/0.008325, allocations: 91.25 kB / 0.6225 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.008547, allocations: 39.97 kB / 0.6225 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.008548, allocations: 0 / 0.6225 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.008639, allocations: 19.97 kB / 0.6225 GB, free: 248 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.008938, allocations: 6.031 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.009247, allocations: 123.6 kB / 0.6227 GB, free: 96 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.077e-05/0.009318, allocations: 59.34 kB / 0.6227 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.009337, allocations: 4.125 kB / 0.6227 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.009367, allocations: 12.5 kB / 0.6227 GB, free: 0 / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.009367, allocations: 0 / 0.6227 GB, free: 0 / 0.5294 GB Notification: Performance of Templates: time 0.002833/0.0122, allocations: 462.6 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.757569961249828] Failed to read output from testmodel.py, exit status != 0: 0.0208355113863945 0.035360725 0.028607958000000003 Calling exit ...