Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.0007638/0.0007638, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008192/0.0008192, 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.9157/0.9157, allocations: 177.2 MB / 203.6 MB, free: 5.746 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.7187/0.7187, allocations: 154.9 MB / 414.9 MB, free: 0.5312 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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [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.001322/0.001322, allocations: 79.22 kB / 0.6199 GB, free: 12.79 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.5094/0.5107, allocations: 102 MB / 0.7195 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001515/0.5122, allocations: 0.6985 MB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.5133, allocations: 1.16 MB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.5134, allocations: 1.062 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.5134, allocations: 0.6094 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.5135, allocations: 15.98 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.5139, allocations: 133.5 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.5141, allocations: 125.6 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.5142, allocations: 10.45 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.5143, allocations: 71.81 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.5144, allocations: 33.33 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.5144, allocations: 13.06 kB / 0.7217 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.5144, allocations: 26.56 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.369e-05/0.5145, allocations: 9.203 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.5145, allocations: 36.94 kB / 0.7218 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.5147, allocations: 163.7 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5147, allocations: 0 / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5147, allocations: 3.938 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5148, allocations: 3.938 kB / 0.7219 GB, free: 21.9 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004395/0.5152, allocations: 319.1 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5152, allocations: 13.5 kB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.5153, allocations: 9.969 kB / 0.7222 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.545e-05/0.5154, allocations: 118.6 kB / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.5154, allocations: 4.5 kB / 0.7224 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.5154, allocations: 8.375 kB / 0.7224 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/0.5155, allocations: 43.14 kB / 0.7224 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5155, allocations: 4.188 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5155, allocations: 5.188 kB / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5155, allocations: 0 / 0.7224 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.5156, allocations: 13 kB / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.5159, allocations: 253.4 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.93e-05/0.5159, allocations: 26.47 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.068e-05/0.5159, allocations: 18.45 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.5159, allocations: 1.188 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.5161, allocations: 69.34 kB / 0.7228 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.5161, allocations: 7.938 kB / 0.7228 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001848/0.5163, allocations: 71.8 kB / 0.7229 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.765e-05/0.5163, allocations: 57.14 kB / 0.7229 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.5164, allocations: 126.1 kB / 0.723 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.5164, allocations: 27.92 kB / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.5164, allocations: 88.91 kB / 0.7231 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.5164, allocations: 10.78 kB / 0.7232 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.5165, allocations: 30.86 kB / 0.7232 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.587e-05/0.5165, allocations: 319.3 kB / 0.7235 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.5166, allocations: 66.81 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.5167, allocations: 92.7 kB / 0.7236 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.5167, allocations: 100.7 kB / 0.7237 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5167, allocations: 3.938 kB / 0.7237 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000193/0.5169, allocations: 199.5 kB / 0.7239 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.517, allocations: 38.55 kB / 0.724 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.517, allocations: 1.188 kB / 0.724 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.517, allocations: 1.094 kB / 0.724 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.236e-05/0.517, allocations: 2.828 kB / 0.724 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.517, allocations: 5.828 kB / 0.724 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.5172, allocations: 28.47 kB / 0.724 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.5172, allocations: 11.23 kB / 0.724 GB, free: 19.97 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.62e-05/0.5173, allocations: 124.5 kB / 0.7241 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.5173, allocations: 11.02 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.468e-05/0.5173, allocations: 7.094 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5173, allocations: 0.5156 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.5173, allocations: 1.156 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.5173, allocations: 5.953 kB / 0.7242 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5173, allocations: 5.797 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.5173, allocations: 1.812 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.5174, allocations: 6.438 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.166e-05/0.5174, allocations: 137.1 kB / 0.7243 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.885e-05/0.5175, allocations: 235.8 kB / 0.7245 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.65e-05/0.5176, allocations: 11.22 kB / 0.7245 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.705e-05/0.5176, allocations: 103.3 kB / 0.7246 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of Backend: time 1.4e-07/0.5176, allocations: 0 / 0.7246 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.518, allocations: 218.7 kB / 0.7248 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003886/0.5184, allocations: 0.6064 MB / 0.7254 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of Templates: time 0.004108/0.5225, allocations: 1.55 MB / 0.727 GB, free: 18.42 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.284999305848032] Failed to read output from testmodel.py, exit status != 0: 0.5289676710963249 0.538074415 0.021195266 Calling exit ...