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.001325/0.001325, allocations: 80.52 kB / 19.18 MB, free: 2.516 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.001452/0.001452, allocations: 166.5 kB / 22.45 MB, free: 5.371 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.413/1.413, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.16/1.16, allocations: 154.7 MB / 413.9 MB, free: 5.141 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 3.647e-06/3.647e-06, allocations: 0 / 0.6188 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.94e-05/4.305e-05, allocations: 2.875 kB / 0.6188 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001942/0.001985, allocations: 0.6595 MB / 0.6195 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003264, allocations: 0.8393 MB / 0.6203 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.003302, allocations: 0 / 0.6203 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.821e-05/0.00333, allocations: 4 kB / 0.6203 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.003398, allocations: 11.94 kB / 0.6203 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.0036, allocations: 7.984 kB / 0.6203 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.003684, allocations: 27.92 kB / 0.6203 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.00379, allocations: 7.984 kB / 0.6203 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.003867, allocations: 11.94 kB / 0.6203 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.923e-05/0.003906, allocations: 7.984 kB / 0.6203 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.003924, allocations: 4 kB / 0.6204 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.837e-05/0.003972, allocations: 8 kB / 0.6204 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.003986, allocations: 0 / 0.6204 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.004013, allocations: 19.97 kB / 0.6204 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.004127, allocations: 23.84 kB / 0.6204 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004129, allocations: 0 / 0.6204 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00413, allocations: 4 kB / 0.6204 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.004134, allocations: 0 / 0.6204 GB, free: 2.879 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.0004484/0.004583, allocations: 258.3 kB / 0.6207 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.004621, allocations: 15.97 kB / 0.6207 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.004705, allocations: 8.891 kB / 0.6207 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.004819, allocations: 117.7 kB / 0.6208 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.004832, allocations: 384 / 0.6208 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.004839, allocations: 4.375 kB / 0.6208 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.005016, allocations: 50.23 kB / 0.6208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.005025, allocations: 192 / 0.6208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.005034, allocations: 384 / 0.6208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.005038, allocations: 384 / 0.6208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.005192, allocations: 35.91 kB / 0.6209 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.005502, allocations: 192.6 kB / 0.6211 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.005627, allocations: 38.56 kB / 0.6211 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.359e-05/0.005711, allocations: 24.91 kB / 0.6211 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.005733, allocations: 0 / 0.6211 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.005763, allocations: 30.56 kB / 0.6211 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.005764, allocations: 0 / 0.6211 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.006125, allocations: 89.52 kB / 0.6212 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.006166, allocations: 55.53 kB / 0.6213 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.006252, allocations: 105.8 kB / 0.6214 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.006279, allocations: 29.7 kB / 0.6214 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.006325, allocations: 80.14 kB / 0.6215 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.006342, allocations: 3.953 kB / 0.6215 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.006376, allocations: 21.66 kB / 0.6215 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.006518, allocations: 318.8 kB / 0.6218 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.557e-05/0.006594, allocations: 11.98 kB / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.93e-05/0.006663, allocations: 19.98 kB / 0.6219 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.006813, allocations: 40.88 kB / 0.6219 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.006816, allocations: 4 kB / 0.6219 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001784/0.006995, allocations: 65.56 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.007012, allocations: 8 kB / 0.622 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.007018, allocations: 3.938 kB / 0.622 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007031, allocations: 0 / 0.622 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.007112, allocations: 12.02 kB / 0.622 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.007116, allocations: 0 / 0.622 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.007162, allocations: 7.984 kB / 0.622 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.007166, allocations: 0 / 0.622 GB, free: 1.082 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 8.502e-05/0.007251, allocations: 115.7 kB / 0.6221 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.007273, allocations: 0 / 0.6221 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.007486, allocations: 72.91 kB / 0.6222 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.007488, allocations: 7.969 kB / 0.6222 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007492, allocations: 0 / 0.6222 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007494, allocations: 0 / 0.6222 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.007628, allocations: 105.3 kB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.007628, allocations: 0 / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.007686, allocations: 11.98 kB / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007688, allocations: 0 / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.007694, allocations: 0 / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.007697, allocations: 3.938 kB / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.007698, allocations: 0 / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.007934, allocations: 167.5 kB / 0.6224 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.007945, allocations: 7.953 kB / 0.6225 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.007957, allocations: 0 / 0.6225 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.008032, allocations: 11.92 kB / 0.6225 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.008061, allocations: 0 / 0.6225 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.008064, allocations: 0 / 0.6225 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.00813, allocations: 91.27 kB / 0.6226 GB, free: 448 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.00813, allocations: 3.938 kB / 0.6226 GB, free: 444 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002063/0.008337, allocations: 4 kB / 0.6226 GB, free: 440 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.0001074/0.008444, allocations: 95.28 kB / 0.6227 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.008644, allocations: 39.91 kB / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008645, allocations: 0 / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.008732, allocations: 19.97 kB / 0.6227 GB, free: 272 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.00899, allocations: 7.938 kB / 0.6227 GB, free: 264 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.009265, allocations: 123.9 kB / 0.6228 GB, free: 116 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.353e-05/0.009329, allocations: 59.34 kB / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.986e-05/0.009348, allocations: 4 kB / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.009373, allocations: 8.5 kB / 0.6229 GB, free: 24 kB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.009373, allocations: 0 / 0.6229 GB, free: 24 kB / 0.5294 GB Notification: Performance of Templates: time 0.002698/0.01207, allocations: 467.8 kB / 0.6234 GB, free: 15.58 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.5779136903584] Failed to read output from testmodel.py, exit status != 0: 0.020423827692866325 0.033830964000000005 0.026854569000000002 Calling exit ...