Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009754/0.0009754, 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.0008473/0.0008473, 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.9257/0.9257, 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 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.7351/0.7351, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0009351/0.0009351, allocations: 71.84 kB / 0.6196 GB, free: 13.09 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.4914/0.4923, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001793/0.4941, allocations: 1.075 MB / 0.7202 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.4959, allocations: 2.221 MB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.496, allocations: 2.469 kB / 0.7224 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.4961, allocations: 21.05 kB / 0.7224 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.4962, allocations: 99.78 kB / 0.7225 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.4981, allocations: 1.388 MB / 0.7238 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.4992, allocations: 1.204 MB / 0.725 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.516e-05/0.4992, allocations: 12.2 kB / 0.725 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006642/0.4999, allocations: 0.6655 MB / 0.7257 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.5004, allocations: 382.3 kB / 0.726 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.5005, allocations: 105.4 kB / 0.7261 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.5007, allocations: 118.1 kB / 0.7262 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.862e-05/0.5008, allocations: 59.98 kB / 0.7263 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003229/0.5011, allocations: 376 kB / 0.7267 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.5023, allocations: 1.212 MB / 0.7278 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5023, allocations: 3.938 kB / 0.7278 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5023, allocations: 0 / 0.7278 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.5023, allocations: 0.8125 kB / 0.7278 GB, free: 18.98 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.001099/0.5034, allocations: 1.109 MB / 0.7289 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.5034, allocations: 8.375 kB / 0.7289 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.5036, allocations: 67.09 kB / 0.729 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.5038, allocations: 172.3 kB / 0.7292 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.5038, allocations: 36.47 kB / 0.7292 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.504, allocations: 66.05 kB / 0.7293 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.5043, allocations: 210.7 kB / 0.7295 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5043, allocations: 9.812 kB / 0.7295 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.5043, allocations: 9.656 kB / 0.7295 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5043, allocations: 3.766 kB / 0.7295 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.5044, allocations: 67.8 kB / 0.7296 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.505, allocations: 0.5902 MB / 0.7301 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.5052, allocations: 323.8 kB / 0.7304 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.5053, allocations: 130.3 kB / 0.7306 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.5054, allocations: 14.81 kB / 0.7306 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005053/0.5059, allocations: 463.3 kB / 0.731 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=45): time 1.804e-06/0.5059, allocations: 1.875 kB / 0.731 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=45): time 0.0008021/0.5067, allocations: 0.5777 MB / 0.7316 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/0.5068, allocations: 446.8 kB / 0.732 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.507, allocations: 299.2 kB / 0.7323 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/0.5071, allocations: 64.17 kB / 0.7324 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5072, allocations: 160.7 kB / 0.7325 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.617e-05/0.5073, allocations: 102.4 kB / 0.7326 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.5077, allocations: 272.8 kB / 0.7329 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.5077, allocations: 350 kB / 0.7332 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007774/0.5085, allocations: 0.8641 MB / 0.734 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008487/0.5093, allocations: 1.143 MB / 0.7352 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/0.5102, allocations: 1.193 MB / 0.7363 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5102, allocations: 2.625 kB / 0.7363 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002002/0.5122, allocations: 2.204 MB / 0.7385 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.5123, allocations: 476.5 kB / 0.7389 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5124, allocations: 11.03 kB / 0.7389 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.5124, allocations: 17.03 kB / 0.739 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.5124, allocations: 33.98 kB / 0.739 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.5125, allocations: 18.44 kB / 0.739 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.5136, allocations: 406.2 kB / 0.7394 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.5138, allocations: 95.98 kB / 0.7395 GB, free: 10.17 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.0001963/0.514, allocations: 227.8 kB / 0.7397 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.514, allocations: 42.39 kB / 0.7397 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.5141, allocations: 41.64 kB / 0.7398 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.5141, allocations: 5.375 kB / 0.7398 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.5141, allocations: 4.938 kB / 0.7398 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.5141, allocations: 38.03 kB / 0.7398 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.5141, allocations: 20.52 kB / 0.7399 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.5142, allocations: 12.56 kB / 0.7399 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.5143, allocations: 62.33 kB / 0.7399 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000556/0.5149, allocations: 1.544 MB / 0.7414 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005772/0.5154, allocations: 1.606 MB / 0.743 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001593/0.5156, allocations: 123.4 kB / 0.7431 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001221/0.5157, allocations: 187.9 kB / 0.7433 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of Backend: time 4.6e-07/0.5157, allocations: 0 / 0.7433 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.5178, allocations: 1.987 MB / 0.7452 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0009039/0.5187, allocations: 1.008 MB / 0.7462 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of Templates: time 0.01572/0.5344, allocations: 13.79 MB / 0.7597 GB, free: 15.78 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.522443013964221] Failed to read output from testmodel.py, exit status != 0: 0.5414896970614791 0.5515830700000001 0.047334778 Calling exit ...