Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0007455/0.0007455, 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.0007511/0.0007511, 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.8841/0.8841, allocations: 177.2 MB / 203.6 MB, free: 5.754 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.7177/0.7177, allocations: 154.9 MB / 414.9 MB, free: 0.5234 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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0008933/0.0008933, allocations: 67.89 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.4762/0.4771, allocations: 102 MB / 0.7195 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001634/0.4788, allocations: 1.077 MB / 0.7205 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.4807, allocations: 2.209 MB / 0.7227 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.4807, allocations: 6.062 kB / 0.7227 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.081e-05/0.4808, allocations: 21.8 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.4809, allocations: 103.4 kB / 0.7228 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.4828, allocations: 1.393 MB / 0.7242 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009649/0.4838, allocations: 1.199 MB / 0.7253 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.896e-05/0.4839, allocations: 16.84 kB / 0.7253 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007499/0.4846, allocations: 0.6608 MB / 0.726 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006957/0.4853, allocations: 383.1 kB / 0.7264 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.4855, allocations: 104.5 kB / 0.7265 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.4858, allocations: 126.3 kB / 0.7266 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.212e-05/0.4859, allocations: 56.11 kB / 0.7266 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005233/0.4864, allocations: 376.1 kB / 0.727 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.4879, allocations: 1.208 MB / 0.7282 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4879, allocations: 0.7031 kB / 0.7282 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4879, allocations: 1.469 kB / 0.7282 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.4879, allocations: 0 / 0.7282 GB, free: 18.8 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001126/0.4891, allocations: 1.104 MB / 0.7292 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.4891, allocations: 10.88 kB / 0.7293 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.4893, allocations: 66.98 kB / 0.7293 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4895, allocations: 172.7 kB / 0.7295 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.4895, allocations: 44.97 kB / 0.7295 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.4897, allocations: 65.77 kB / 0.7296 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.49, allocations: 213.7 kB / 0.7298 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.49, allocations: 2.031 kB / 0.7298 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.49, allocations: 14.42 kB / 0.7298 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.49, allocations: 3 kB / 0.7298 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.4901, allocations: 69.09 kB / 0.7299 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006864/0.4908, allocations: 0.5968 MB / 0.7305 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.491, allocations: 323.7 kB / 0.7308 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.4911, allocations: 130.8 kB / 0.7309 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.4911, allocations: 6.281 kB / 0.7309 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005017/0.4916, allocations: 472.4 kB / 0.7314 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.4916, allocations: 0 / 0.7314 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.0008173/0.4924, allocations: 0.5748 MB / 0.7319 GB, free: 16.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.4925, allocations: 442.1 kB / 0.7323 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.4928, allocations: 296.1 kB / 0.7326 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.168e-05/0.4929, allocations: 67.89 kB / 0.7327 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.493, allocations: 161.3 kB / 0.7328 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.123e-05/0.493, allocations: 100.4 kB / 0.7329 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.4934, allocations: 278.9 kB / 0.7332 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.4935, allocations: 349.6 kB / 0.7335 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/0.4942, allocations: 0.8555 MB / 0.7344 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/0.495, allocations: 1.147 MB / 0.7355 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.4959, allocations: 1.198 MB / 0.7367 GB, free: 12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4959, allocations: 6.75 kB / 0.7367 GB, free: 12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002056/0.4979, allocations: 2.204 MB / 0.7388 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.4981, allocations: 472.6 kB / 0.7393 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4981, allocations: 9.188 kB / 0.7393 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.4981, allocations: 19.09 kB / 0.7393 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.4982, allocations: 31.97 kB / 0.7393 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/0.4982, allocations: 23.22 kB / 0.7393 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4995, allocations: 406.7 kB / 0.7397 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.4996, allocations: 103.8 kB / 0.7398 GB, free: 9.973 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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 0.0002646/0.4999, allocations: 216.8 kB / 0.74 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.5, allocations: 42.61 kB / 0.7401 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.5, allocations: 44.52 kB / 0.7401 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.5, allocations: 6.156 kB / 0.7401 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5, allocations: 4.469 kB / 0.7401 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.5001, allocations: 33.56 kB / 0.7402 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.5001, allocations: 16.06 kB / 0.7402 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.5002, allocations: 13.52 kB / 0.7402 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.5003, allocations: 65.8 kB / 0.7403 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005617/0.5008, allocations: 1.539 MB / 0.7418 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000611/0.5014, allocations: 1.612 MB / 0.7433 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001711/0.5016, allocations: 122.8 kB / 0.7435 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001292/0.5017, allocations: 189.8 kB / 0.7436 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of Backend: time 6.21e-07/0.5017, allocations: 4 kB / 0.7436 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.5039, allocations: 1.984 MB / 0.7456 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0009809/0.5049, allocations: 0.9996 MB / 0.7465 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of Templates: time 0.01705/0.5219, allocations: 13.81 MB / 0.76 GB, free: 15.53 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.373926487984136] Failed to read output from testmodel.py, exit status != 0: 0.5294054851401597 0.544685534 0.054111087 Calling exit ...