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.0007886/0.0007886, 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.0008827/0.0008827, 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.9003/0.9003, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7526/0.7526, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.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: 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.001027/0.001027, allocations: 67.89 kB / 0.6196 GB, free: 13.07 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.5308/0.5318, allocations: 102 MB / 0.7192 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001456/0.5333, allocations: 0.6498 MB / 0.7198 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007762/0.5341, allocations: 0.8508 MB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.5341, allocations: 1.312 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.5342, allocations: 4.594 kB / 0.7207 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.5342, allocations: 1.438 kB / 0.7207 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.5344, allocations: 14.33 kB / 0.7207 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/0.5345, allocations: 24.25 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.5346, allocations: 11.97 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.5347, allocations: 14.7 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.151e-05/0.5347, allocations: 10.05 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.5347, allocations: 1.25 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.741e-05/0.5348, allocations: 15.77 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.5348, allocations: 1.719 kB / 0.7207 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.5348, allocations: 11.3 kB / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.5349, allocations: 29.62 kB / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5349, allocations: 0 / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5349, allocations: 0 / 0.7208 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.535, allocations: 0 / 0.7208 GB, free: 22.52 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.0003561/0.5353, allocations: 265.2 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5354, allocations: 8.5 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.5354, allocations: 3.844 kB / 0.721 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.5355, allocations: 118 kB / 0.7212 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.5355, allocations: 1.469 kB / 0.7212 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.5355, allocations: 1.5 kB / 0.7212 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.5357, allocations: 53.48 kB / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5357, allocations: 192 / 0.7212 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.5357, allocations: 9.781 kB / 0.7212 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5357, allocations: 0 / 0.7212 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.5358, allocations: 32.72 kB / 0.7213 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.536, allocations: 190 kB / 0.7214 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.698e-05/0.5361, allocations: 44.75 kB / 0.7215 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.5362, allocations: 19.61 kB / 0.7215 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.5362, allocations: 4.5 kB / 0.7215 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.5362, allocations: 32.55 kB / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.5362, allocations: 0 / 0.7215 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000242/0.5364, allocations: 84.17 kB / 0.7216 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.487e-05/0.5365, allocations: 52.44 kB / 0.7217 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.5365, allocations: 105.1 kB / 0.7218 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-06/0.5365, allocations: 35.11 kB / 0.7218 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.5365, allocations: 80.75 kB / 0.7219 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.5366, allocations: 14.33 kB / 0.7219 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.5366, allocations: 11.89 kB / 0.7219 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.572e-05/0.5366, allocations: 313.9 kB / 0.7222 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.564e-05/0.5367, allocations: 18 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.5367, allocations: 19.19 kB / 0.7222 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.5368, allocations: 36.8 kB / 0.7223 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5368, allocations: 0 / 0.7223 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.5369, allocations: 71.62 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5369, allocations: 5.594 kB / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5369, allocations: 96 / 0.7223 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5369, allocations: 4.562 kB / 0.7223 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.537, allocations: 17.86 kB / 0.7224 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.537, allocations: 4 kB / 0.7224 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.537, allocations: 6.484 kB / 0.7224 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.537, allocations: 1.125 kB / 0.7224 GB, free: 21.02 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.833e-05/0.5371, allocations: 109.9 kB / 0.7225 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.5371, allocations: 4.969 kB / 0.7225 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.5372, allocations: 79 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.5372, allocations: 1.062 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5372, allocations: 0.5156 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-06/0.5372, allocations: 1.844 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.5373, allocations: 1.188 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.038e-05/0.5373, allocations: 5.938 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.5373, allocations: 2.469 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001155/0.5374, allocations: 159.6 kB / 0.7227 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001202/0.5376, allocations: 235.2 kB / 0.7229 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.75e-05/0.5376, allocations: 19.7 kB / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.785e-05/0.5376, allocations: 79.25 kB / 0.723 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of Backend: time 2.51e-07/0.5376, allocations: 3.938 kB / 0.723 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.538, allocations: 102.4 kB / 0.7231 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003471/0.5383, allocations: 0.5604 MB / 0.7237 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of Templates: time 0.002379/0.5407, allocations: 0.6119 MB / 0.7243 GB, free: 19.69 MB / 0.6355 GB " [Timeout remaining time 659] 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: 4.359876268077642] Failed to read output from testmodel.py, exit status != 0: 0.5471562270540744 0.5561267529999999 0.01936686 Calling exit ...