Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001029/0.001029, allocations: 80.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.0009273/0.0009273, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.9153/0.9153, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7246/0.7246, allocations: 154.9 MB / 414.9 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.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.0009416/0.0009416, allocations: 64.19 kB / 0.6199 GB, free: 12.7 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4616/0.4626, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001378/0.464, allocations: 0.646 MB / 0.7201 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006876/0.4647, allocations: 0.8527 MB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.4647, allocations: 0 / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.4647, allocations: 1.953 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.977e-05/0.4648, allocations: 3.938 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.465, allocations: 21.5 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.185e-05/0.465, allocations: 20.41 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.864e-05/0.4651, allocations: 7.531 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.4652, allocations: 16.11 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.4653, allocations: 17.5 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.4653, allocations: 2.344 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.423e-05/0.4653, allocations: 4.25 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.4653, allocations: 2.266 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.4654, allocations: 11.3 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.4655, allocations: 28.38 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4655, allocations: 5.156 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4655, allocations: 0 / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4655, allocations: 0 / 0.7211 GB, free: 22.37 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003138/0.4658, allocations: 265 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.4658, allocations: 9.719 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.235e-05/0.4659, allocations: 3.844 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.963e-05/0.466, allocations: 114.1 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.466, allocations: 1.469 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.466, allocations: 1.812 kB / 0.7215 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4661, allocations: 53.19 kB / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4661, allocations: 4.125 kB / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4661, allocations: 4.969 kB / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4661, allocations: 0 / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.51e-05/0.4662, allocations: 33.33 kB / 0.7216 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.4665, allocations: 190.2 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.076e-05/0.4665, allocations: 36.39 kB / 0.7218 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.4666, allocations: 28.23 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4666, allocations: 3.938 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.4666, allocations: 40.44 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.4666, allocations: 1.188 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002155/0.4668, allocations: 74.64 kB / 0.7219 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.351e-05/0.4669, allocations: 53.02 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.4669, allocations: 101.9 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.7e-06/0.4669, allocations: 29.83 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.4669, allocations: 85.83 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.4669, allocations: 9.5 kB / 0.7222 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.467, allocations: 12.5 kB / 0.7222 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.772e-05/0.467, allocations: 322.1 kB / 0.7225 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.467, allocations: 13.64 kB / 0.7225 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.4671, allocations: 18.53 kB / 0.7225 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.4671, allocations: 45.47 kB / 0.7226 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4671, allocations: 0 / 0.7226 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.734e-05/0.4672, allocations: 75.77 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4673, allocations: 4.688 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4673, allocations: 0.6094 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4673, allocations: 1.438 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.4673, allocations: 9.172 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4673, allocations: 4.031 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.4674, allocations: 6.453 kB / 0.7227 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.4674, allocations: 5.078 kB / 0.7227 GB, free: 20.88 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 (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 3.03e-05/0.4674, allocations: 109.2 kB / 0.7228 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.4674, allocations: 10.09 kB / 0.7228 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.4675, allocations: 75.09 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4675, allocations: 0.6562 kB / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.4675, allocations: 0 / 0.7229 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.4675, allocations: 6.953 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.4675, allocations: 0 / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.644e-05/0.4676, allocations: 7.562 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4676, allocations: 5.359 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001104/0.4677, allocations: 152 kB / 0.723 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001169/0.4678, allocations: 243.1 kB / 0.7233 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.981e-05/0.4679, allocations: 14.45 kB / 0.7233 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.753e-05/0.4679, allocations: 84.73 kB / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of Backend: time 2.1e-07/0.4679, allocations: 0 / 0.7234 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.4682, allocations: 92.48 kB / 0.7235 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0002947/0.4685, allocations: 0.5628 MB / 0.724 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.001945/0.4705, allocations: 0.6334 MB / 0.7246 GB, free: 19.55 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.075817499076948] Failed to read output from testmodel.py, exit status != 0: 0.4759424231015146 0.48367244 0.016497565000000002 Calling exit ...