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.001047/0.001047, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002359, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001065/0.001065, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001416/0.002481, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.06/1.06, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.162, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.8129/0.8129, allocations: 154.6 MB / 398.5 MB, free: 0.5039 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2803/1.093, allocations: 49.03 MB / 447.6 MB, free: 6.672 MB / 426.7 MB " [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.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 1.633e-06/1.633e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.363 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/1.129e-05, allocations: 5.641 kB / 448.9 MB, free: 5.359 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001002/0.001013, allocations: 0.6494 MB / 449.6 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007204/0.001734, allocations: 0.8687 MB / 450.4 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.001756, allocations: 1.281 kB / 450.4 MB, free: 3.875 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.129e-05/0.001777, allocations: 3.938 kB / 450.4 MB, free: 3.871 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.697e-05/0.001804, allocations: 6.172 kB / 450.4 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.985e-05/0.001874, allocations: 13.11 kB / 450.4 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.001935, allocations: 22.98 kB / 450.5 MB, free: 3.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.001971, allocations: 0.9844 kB / 450.5 MB, free: 3.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.002091, allocations: 33 kB / 450.5 MB, free: 3.809 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.002136, allocations: 4.984 kB / 450.5 MB, free: 3.805 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.002148, allocations: 0.7656 kB / 450.5 MB, free: 3.805 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.316e-05/0.002202, allocations: 8.562 kB / 450.5 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.002209, allocations: 0.6562 kB / 450.5 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.209e-05/0.002222, allocations: 5.719 kB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.972e-05/0.002301, allocations: 19.39 kB / 450.5 MB, free: 3.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.002313, allocations: 0 / 450.5 MB, free: 3.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002314, allocations: 0 / 450.5 MB, free: 3.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.002325, allocations: 0 / 450.5 MB, free: 3.777 MB / 426.7 MB 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.000286/0.002611, allocations: 230.8 kB / 450.8 MB, free: 3.523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.002639, allocations: 9.656 kB / 450.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.00277, allocations: 93 kB / 450.9 MB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.867e-05/0.002838, allocations: 110.5 kB / 451 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.002847, allocations: 4.375 kB / 451 MB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.002854, allocations: 384 / 451 MB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.002931, allocations: 50.89 kB / 451 MB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.002937, allocations: 192 / 451 MB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.002943, allocations: 384 / 451 MB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.002948, allocations: 2.297 kB / 451 MB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.332e-05/0.002961, allocations: 3.938 kB / 451 MB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.756e-05/0.003029, allocations: 63.05 kB / 451.1 MB, free: 3.137 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.889e-05/0.003058, allocations: 14.58 kB / 451.1 MB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-06/0.003068, allocations: 8.953 kB / 451.1 MB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.003079, allocations: 1.469 kB / 451.1 MB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.003098, allocations: 34.5 kB / 451.2 MB, free: 3.059 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.003098, allocations: 0 / 451.2 MB, free: 3.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.041e-05/0.003179, allocations: 31.83 kB / 451.2 MB, free: 3.023 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.003207, allocations: 60.06 kB / 451.2 MB, free: 2.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.995e-05/0.003257, allocations: 110.7 kB / 451.4 MB, free: 2.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.003264, allocations: 25.7 kB / 451.4 MB, free: 2.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.003286, allocations: 84.14 kB / 451.5 MB, free: 2.715 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.003306, allocations: 0 / 451.5 MB, free: 2.715 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.003328, allocations: 14.61 kB / 451.5 MB, free: 2.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.003425, allocations: 324 kB / 451.8 MB, free: 2.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.003433, allocations: 0.875 kB / 451.8 MB, free: 2.371 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.003438, allocations: 0 / 451.8 MB, free: 2.371 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/0.003457, allocations: 13.8 kB / 451.8 MB, free: 2.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.003459, allocations: 0 / 451.8 MB, free: 2.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.374e-05/0.003493, allocations: 34.31 kB / 451.8 MB, free: 2.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.003505, allocations: 8.625 kB / 451.8 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.003509, allocations: 0 / 451.8 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/0.003517, allocations: 0.5312 kB / 451.8 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.003577, allocations: 0.5312 kB / 451.9 MB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.003581, allocations: 4.812 kB / 451.9 MB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.003592, allocations: 0.7656 kB / 451.9 MB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.003599, allocations: 4.641 kB / 451.9 MB, free: 2.301 MB / 426.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 (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 4.762e-05/0.003646, allocations: 111.6 kB / 452 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-06/0.00365, allocations: 4 kB / 452 MB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.003668, allocations: 11.09 kB / 452 MB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.00367, allocations: 0 / 452 MB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.003671, allocations: 0.6562 kB / 452 MB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.003674, allocations: 1.656 kB / 452 MB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.053e-05/0.003724, allocations: 71.89 kB / 452.1 MB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003725, allocations: 0 / 452.1 MB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.00374, allocations: 4.719 kB / 452.1 MB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.003747, allocations: 3.953 kB / 452.1 MB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.003748, allocations: 0.9375 kB / 452.1 MB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.003752, allocations: 4.984 kB / 452.1 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.003752, allocations: 1.125 kB / 452.1 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.003753, allocations: 0 / 452.1 MB, free: 2.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.049e-05/0.003803, allocations: 57.06 kB / 452.1 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.003811, allocations: 4.562 kB / 452.1 MB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.003827, allocations: 0.9688 kB / 452.1 MB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.00385, allocations: 3.984 kB / 452.1 MB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.003852, allocations: 0 / 452.1 MB, free: 1.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.574e-05/0.003868, allocations: 26.19 kB / 452.2 MB, free: 1.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003868, allocations: 0.9844 kB / 452.2 MB, free: 1.961 MB / 426.7 MB Notification: Performance of remove unused functions: time 8.907e-05/0.003957, allocations: 4 kB / 452.2 MB, free: 1.957 MB / 426.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 (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.0001032/0.00406, allocations: 74.36 kB / 452.2 MB, free: 1.875 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.695e-05/0.004117, allocations: 12.84 kB / 452.3 MB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.004121, allocations: 0 / 452.3 MB, free: 1.859 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.104e-05/0.004132, allocations: 9.953 kB / 452.3 MB, free: 1.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.97e-05/0.004192, allocations: 7.938 kB / 452.3 MB, free: 1.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.004785, allocations: 123.7 kB / 452.4 MB, free: 1.699 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.571e-05/0.004811, allocations: 56.22 kB / 452.4 MB, free: 1.625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.429e-05/0.004825, allocations: 3.938 kB / 452.4 MB, free: 1.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.004856, allocations: 52.28 kB / 452.5 MB, free: 1.57 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.004857, allocations: 0 / 452.5 MB, free: 1.57 MB / 426.7 MB Notification: Performance of Templates: time 0.001625/0.006482, allocations: 295.8 kB / 452.8 MB, free: 1.293 MB / 426.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6372972121462226]