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.0007726/0.0007726, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001084/0.001856, allocations: 440 kB / 10.41 MB, free: 284 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.0007621/0.0007621, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002168, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.055/1.055, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09486/1.15, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7861/0.7861, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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.2757/1.062, allocations: 49.05 MB / 447.8 MB, free: 6.559 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.743e-06/1.743e-06, allocations: 0 / 449.2 MB, free: 5.227 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.615e-05, allocations: 5.484 kB / 449.2 MB, free: 5.223 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001835/0.001861, allocations: 0.6656 MB / 449.9 MB, free: 4.594 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.002749, allocations: 0.8682 MB / 450.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.002782, allocations: 0.9062 kB / 450.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.002804, allocations: 0.9844 kB / 450.7 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/0.002836, allocations: 6.047 kB / 450.7 MB, free: 3.715 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.415e-05/0.002911, allocations: 14.41 kB / 450.7 MB, free: 3.703 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.611e-05/0.002977, allocations: 20.58 kB / 450.8 MB, free: 3.688 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.003017, allocations: 4.547 kB / 450.8 MB, free: 3.684 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.003159, allocations: 21.83 kB / 450.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005065/0.008224, allocations: 11.48 kB / 450.8 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.008242, allocations: 0 / 450.8 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.008312, allocations: 4 kB / 450.8 MB, free: 3.652 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.008329, allocations: 5.422 kB / 450.8 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.008346, allocations: 0.7656 kB / 450.8 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.008456, allocations: 21.84 kB / 450.8 MB, free: 3.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.384e-05/0.00847, allocations: 0 / 450.8 MB, free: 3.629 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.008471, allocations: 1.969 kB / 450.8 MB, free: 3.629 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.008485, allocations: 0 / 450.8 MB, free: 3.629 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.0003448/0.00883, allocations: 234.7 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.008864, allocations: 8.031 kB / 451.1 MB, free: 3.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.009026, allocations: 88.02 kB / 451.2 MB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.043e-05/0.009116, allocations: 110.3 kB / 451.3 MB, free: 3.129 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.009129, allocations: 4.375 kB / 451.3 MB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.009138, allocations: 384 / 451.3 MB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.026e-05/0.009218, allocations: 46.97 kB / 451.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.009225, allocations: 1.406 kB / 451.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.009232, allocations: 5.016 kB / 451.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.009238, allocations: 1.469 kB / 451.3 MB, free: 3.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.239e-05/0.00925, allocations: 3.938 kB / 451.3 MB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.761e-05/0.009328, allocations: 60.98 kB / 451.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/0.009364, allocations: 20.59 kB / 451.4 MB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.083e-05/0.009375, allocations: 8.172 kB / 451.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.009386, allocations: 1.094 kB / 451.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.009408, allocations: 30.56 kB / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.62e-07/0.009408, allocations: 0 / 451.4 MB, free: 2.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.433e-05/0.009503, allocations: 41.69 kB / 451.5 MB, free: 2.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.009529, allocations: 51.41 kB / 451.5 MB, free: 2.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.917e-05/0.009588, allocations: 106.7 kB / 451.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.009598, allocations: 25.7 kB / 451.7 MB, free: 2.656 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.402e-05/0.009622, allocations: 89.03 kB / 451.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.009643, allocations: 0 / 451.7 MB, free: 2.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.009669, allocations: 11.59 kB / 451.8 MB, free: 2.551 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.00988, allocations: 323.5 kB / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.009889, allocations: 0 / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.702e-06/0.009896, allocations: 0 / 452.1 MB, free: 2.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.452e-05/0.009921, allocations: 13.72 kB / 452.1 MB, free: 2.211 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.009923, allocations: 0 / 452.1 MB, free: 2.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.927e-05/0.009972, allocations: 34.55 kB / 452.1 MB, free: 2.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.009985, allocations: 8 kB / 452.1 MB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.009989, allocations: 1.656 kB / 452.1 MB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01, allocations: 0 / 452.1 MB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.01007, allocations: 8.234 kB / 452.1 MB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.01007, allocations: 1.312 kB / 452.1 MB, free: 2.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.608e-05/0.01008, allocations: 4 kB / 452.1 MB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.01009, allocations: 0 / 452.1 MB, free: 2.152 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 5.146e-05/0.01014, allocations: 111.6 kB / 452.3 MB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-06/0.01015, allocations: 4 kB / 452.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.01017, allocations: 8.375 kB / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01017, allocations: 0 / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01017, allocations: 1.125 kB / 452.3 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01017, allocations: 5.047 kB / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.426e-05/0.01023, allocations: 65.84 kB / 452.3 MB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01023, allocations: 0 / 452.3 MB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.01025, allocations: 5.156 kB / 452.3 MB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.01025, allocations: 7.938 kB / 452.4 MB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.01026, allocations: 4 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-06/0.01026, allocations: 1.375 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.01026, allocations: 0 / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01026, allocations: 1.5 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.829e-05/0.01032, allocations: 65 kB / 452.4 MB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.01033, allocations: 3.984 kB / 452.4 MB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.01034, allocations: 1.5 kB / 452.4 MB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.01036, allocations: 0.7656 kB / 452.4 MB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.01036, allocations: 0 / 452.4 MB, free: 1.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.243e-05/0.01038, allocations: 8.859 kB / 452.4 MB, free: 1.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01038, allocations: 0.6875 kB / 452.4 MB, free: 1.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.01051, allocations: 4 kB / 452.4 MB, free: 1.82 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 9.14e-05/0.0106, allocations: 82.19 kB / 452.5 MB, free: 1.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.227e-05/0.01065, allocations: 9.625 kB / 452.5 MB, free: 1.719 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.01066, allocations: 4.75 kB / 452.5 MB, free: 1.715 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.01067, allocations: 10.06 kB / 452.5 MB, free: 1.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.928e-05/0.01074, allocations: 8.625 kB / 452.6 MB, free: 1.695 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.01446, allocations: 135.1 kB / 452.7 MB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.196e-05/0.01449, allocations: 55.36 kB / 452.7 MB, free: 1.469 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.178e-05/0.01451, allocations: 1.797 kB / 452.7 MB, free: 1.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.01455, allocations: 48 kB / 452.8 MB, free: 1.422 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01455, allocations: 0.9375 kB / 452.8 MB, free: 1.422 MB / 426.7 MB Notification: Performance of Templates: time 0.001917/0.01647, allocations: 301.8 kB / 453.1 MB, free: 1.141 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.5903433300554752]