Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001265/0.001265, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.001383/0.001383, allocations: 165.6 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.207 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.19/1.19, allocations: 154.6 MB / 413.8 MB, free: 5.246 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.058e-06/4.058e-06, allocations: 0 / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.452e-05, allocations: 11.48 kB / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.00195/0.001984, allocations: 0.5992 MB / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.003305, allocations: 0.8432 MB / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.003339, allocations: 0 / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.003368, allocations: 0 / 0.62 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.003423, allocations: 7.875 kB / 0.62 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.003622, allocations: 8 kB / 0.62 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.003696, allocations: 23.91 kB / 0.6201 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.003748, allocations: 4 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.003921, allocations: 15.98 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.003975, allocations: 7.938 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.003989, allocations: 4 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.514e-05/0.004044, allocations: 11.94 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.004056, allocations: 3.984 kB / 0.6201 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.004076, allocations: 4 kB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.004186, allocations: 27.89 kB / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004188, allocations: 0 / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004189, allocations: 0 / 0.6201 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004193, allocations: 0 / 0.6201 GB, free: 2.957 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004278/0.004621, allocations: 250.4 kB / 0.6204 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.004664, allocations: 12.03 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.004822, allocations: 16.88 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.004954, allocations: 113.7 kB / 0.6205 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.004964, allocations: 384 / 0.6205 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.004978, allocations: 384 / 0.6205 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.005104, allocations: 42.25 kB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.005113, allocations: 192 / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.005122, allocations: 4.312 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.005127, allocations: 384 / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.005202, allocations: 19.92 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.005349, allocations: 101.3 kB / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.005425, allocations: 30.53 kB / 0.6207 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/0.005471, allocations: 12.92 kB / 0.6207 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.005486, allocations: 4 kB / 0.6207 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.005511, allocations: 30.56 kB / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.005512, allocations: 0 / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002137/0.005726, allocations: 57.61 kB / 0.6208 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.005766, allocations: 51.41 kB / 0.6209 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.005864, allocations: 109.9 kB / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.00588, allocations: 29.7 kB / 0.621 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.005925, allocations: 80.14 kB / 0.6211 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005948, allocations: 3.953 kB / 0.6211 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.005983, allocations: 13.72 kB / 0.6211 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.006128, allocations: 314.8 kB / 0.6214 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.006169, allocations: 7.984 kB / 0.6214 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.006199, allocations: 4 kB / 0.6214 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.736e-05/0.006276, allocations: 24.84 kB / 0.6214 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006278, allocations: 4.062 kB / 0.6214 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.006393, allocations: 49.62 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.006411, allocations: 7.984 kB / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.006415, allocations: 0 / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.006434, allocations: 0 / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.006499, allocations: 4 kB / 0.6215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006504, allocations: 0 / 0.6215 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.006537, allocations: 7.938 kB / 0.6215 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.006543, allocations: 0 / 0.6215 GB, free: 1.402 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 (1): * Single equations (assignments): 1 * 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 8.714e-05/0.006631, allocations: 115.7 kB / 0.6216 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.006641, allocations: 7.938 kB / 0.6216 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/0.006658, allocations: 3.156 kB / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.00666, allocations: 0 / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006663, allocations: 0 / 0.6216 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006668, allocations: 3.938 kB / 0.6216 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.897e-05/0.006757, allocations: 105.3 kB / 0.6217 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006758, allocations: 0 / 0.6217 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.006795, allocations: 4 kB / 0.6217 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006797, allocations: 0 / 0.6217 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.006804, allocations: 0 / 0.6217 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006805, allocations: 4 kB / 0.6217 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006806, allocations: 256 / 0.6217 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.006957, allocations: 92.86 kB / 0.6218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.006963, allocations: 0 / 0.6218 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.006978, allocations: 4 kB / 0.6218 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.007008, allocations: 4 kB / 0.6218 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.007039, allocations: 0 / 0.6218 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.007042, allocations: 0 / 0.6218 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.073e-05/0.007092, allocations: 87.27 kB / 0.6219 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.007093, allocations: 4.031 kB / 0.6219 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001813/0.007274, allocations: 7.938 kB / 0.6219 GB, free: 0.9102 MB / 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 (1): * Single equations (assignments): 1 * 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.0001258/0.0074, allocations: 91.25 kB / 0.622 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000146/0.007546, allocations: 23.98 kB / 0.622 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007548, allocations: 0 / 0.622 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.00759, allocations: 11.92 kB / 0.622 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.007733, allocations: 4 kB / 0.622 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.008022, allocations: 104.9 kB / 0.6221 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.008084, allocations: 59.36 kB / 0.6222 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.008106, allocations: 0 / 0.6222 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.008132, allocations: 8.5 kB / 0.6222 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.008132, allocations: 0 / 0.6222 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of Templates: time 0.002488/0.01062, allocations: 277.9 kB / 0.6225 GB, free: 296 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.666011389344931] Failed to read output from testmodel.py, exit status != 0: 0.019845791161060333 0.035090547 0.027834337 Calling exit ...