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.0008465/0.0008465, allocations: 84.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0009413/0.0009413, allocations: 169.2 kB / 23.19 MB, free: 1.375 MB / 18.57 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 0.9361/0.9361, allocations: 177.2 MB / 203.6 MB, free: 5.77 MB / 186.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-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 0.7334/0.7334, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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. " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009591/0.0009591, allocations: 75.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.4841/0.485, allocations: 101.9 MB / 0.7192 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001299/0.4863, allocations: 0.5912 MB / 0.7197 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006777/0.487, allocations: 0.8509 MB / 0.7206 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.487, allocations: 0 / 0.7206 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.4871, allocations: 0 / 0.7206 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.4871, allocations: 6.016 kB / 0.7206 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.4873, allocations: 9.578 kB / 0.7206 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.4874, allocations: 16.95 kB / 0.7206 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.4874, allocations: 10 kB / 0.7206 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.4875, allocations: 22.72 kB / 0.7206 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.4876, allocations: 7.312 kB / 0.7206 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.4876, allocations: 1.844 kB / 0.7206 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.4876, allocations: 11.84 kB / 0.7206 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.4876, allocations: 1.266 kB / 0.7206 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.4877, allocations: 10.84 kB / 0.7207 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.4878, allocations: 21.97 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4878, allocations: 0.7969 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4878, allocations: 0 / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4878, allocations: 1.312 kB / 0.7207 GB, free: 22.62 MB / 0.6355 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.0002862/0.4881, allocations: 252.6 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4881, allocations: 12.56 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.4882, allocations: 19.14 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.574e-05/0.4883, allocations: 109.6 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4883, allocations: 384 / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4883, allocations: 1.531 kB / 0.7211 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.443e-05/0.4884, allocations: 39.52 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4884, allocations: 192 / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.4884, allocations: 3.938 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4884, allocations: 1.125 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.942e-05/0.4885, allocations: 15.5 kB / 0.7211 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.752e-05/0.4885, allocations: 103.3 kB / 0.7212 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.4886, allocations: 25.52 kB / 0.7212 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.435e-05/0.4886, allocations: 12 kB / 0.7213 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.4886, allocations: 5.125 kB / 0.7213 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.4886, allocations: 36.12 kB / 0.7213 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.4886, allocations: 0 / 0.7213 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001583/0.4888, allocations: 51.72 kB / 0.7213 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.47e-05/0.4888, allocations: 55.41 kB / 0.7214 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.746e-05/0.4889, allocations: 99.53 kB / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.4889, allocations: 29.83 kB / 0.7215 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/0.4889, allocations: 90.84 kB / 0.7216 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.4889, allocations: 3.953 kB / 0.7216 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.4889, allocations: 13 kB / 0.7216 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.489, allocations: 317.1 kB / 0.7219 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.489, allocations: 6.359 kB / 0.7219 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.489, allocations: 10.27 kB / 0.7219 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/0.489, allocations: 25.38 kB / 0.722 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.489, allocations: 5.156 kB / 0.722 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.664e-05/0.4891, allocations: 43.59 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.4891, allocations: 4.656 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.4891, allocations: 3.984 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4891, allocations: 1.922 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.4892, allocations: 7.516 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.4892, allocations: 1.25 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.4892, allocations: 2.453 kB / 0.722 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.4892, allocations: 1.312 kB / 0.722 GB, free: 21.25 MB / 0.6355 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 3.465e-05/0.4892, allocations: 120.5 kB / 0.7221 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-06/0.4892, allocations: 5.734 kB / 0.7221 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.396e-05/0.4893, allocations: 8.828 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4893, allocations: 5.656 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.4893, allocations: 0 / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.4893, allocations: 9.516 kB / 0.7222 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.4893, allocations: 5.719 kB / 0.7222 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.4893, allocations: 1.906 kB / 0.7222 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.4893, allocations: 2.312 kB / 0.7222 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.956e-05/0.4894, allocations: 127.5 kB / 0.7223 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 7.064e-05/0.4895, allocations: 222.5 kB / 0.7225 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.081e-05/0.4895, allocations: 10.58 kB / 0.7225 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.626e-05/0.4895, allocations: 81.22 kB / 0.7226 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of Backend: time 3.31e-07/0.4895, allocations: 0 / 0.7226 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.4898, allocations: 86.36 kB / 0.7227 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0002527/0.49, allocations: 0.5604 MB / 0.7232 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of Templates: time 0.001923/0.492, allocations: 415.4 kB / 0.7236 GB, free: 19.97 MB / 0.6355 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: 4.329323595156893] Failed to read output from testmodel.py, exit status != 0: 0.49754498898983 0.5061171360000001 0.016575572 Calling exit ...