Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0008008/0.0008008, 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.0008618/0.0008618, 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.8888/0.8888, allocations: 177.2 MB / 203.6 MB, free: 5.727 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.7502/0.7502, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.000973/0.000973, allocations: 71.48 kB / 0.6199 GB, free: 12.71 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.5109/0.5119, allocations: 102 MB / 0.7194 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001583/0.5135, allocations: 0.9075 MB / 0.7203 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.5147, allocations: 1.463 MB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.774e-05/0.5148, allocations: 1.25 kB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.5149, allocations: 22.39 kB / 0.7218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.515, allocations: 59.39 kB / 0.7218 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.5158, allocations: 443.2 kB / 0.7223 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.5162, allocations: 495.7 kB / 0.7227 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.5163, allocations: 29.31 kB / 0.7228 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.5166, allocations: 277.1 kB / 0.723 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.5168, allocations: 148.5 kB / 0.7232 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.5168, allocations: 49.34 kB / 0.7232 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.5169, allocations: 61.38 kB / 0.7233 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.517, allocations: 39.11 kB / 0.7233 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.5171, allocations: 153.9 kB / 0.7235 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.5177, allocations: 0.5723 MB / 0.724 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5177, allocations: 0 / 0.724 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5177, allocations: 0.5625 kB / 0.724 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5177, allocations: 8.969 kB / 0.724 GB, free: 20.83 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006271/0.5183, allocations: 0.5589 MB / 0.7246 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5183, allocations: 11.56 kB / 0.7246 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.326e-05/0.5184, allocations: 35.36 kB / 0.7246 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.5185, allocations: 159.4 kB / 0.7248 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.5186, allocations: 16.81 kB / 0.7248 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.5186, allocations: 23.89 kB / 0.7248 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.5188, allocations: 121.7 kB / 0.7249 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.5188, allocations: 5.766 kB / 0.7249 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5188, allocations: 5.562 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.5188, allocations: 2 kB / 0.7249 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.5189, allocations: 61.2 kB / 0.725 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.5195, allocations: 0.7193 MB / 0.7257 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5196, allocations: 114.4 kB / 0.7258 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.5196, allocations: 52.67 kB / 0.7258 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.5197, allocations: 2.25 kB / 0.7259 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.5199, allocations: 186.2 kB / 0.726 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.5199, allocations: 0 / 0.726 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003517/0.5202, allocations: 224.1 kB / 0.7262 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.5202, allocations: 137 kB / 0.7264 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.5204, allocations: 245.3 kB / 0.7266 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.5205, allocations: 42.3 kB / 0.7266 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.5205, allocations: 129.2 kB / 0.7268 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.5205, allocations: 30.52 kB / 0.7268 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.5207, allocations: 93.17 kB / 0.7269 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.5207, allocations: 335.6 kB / 0.7272 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002338/0.5209, allocations: 271.2 kB / 0.7275 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.5212, allocations: 359.4 kB / 0.7278 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.5214, allocations: 365.7 kB / 0.7282 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5215, allocations: 1.438 kB / 0.7282 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006066/0.5221, allocations: 0.691 MB / 0.7288 GB, free: 16.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.5221, allocations: 141.9 kB / 0.729 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5221, allocations: 6.875 kB / 0.729 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5221, allocations: 2.812 kB / 0.729 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.5222, allocations: 15.8 kB / 0.729 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5222, allocations: 8.328 kB / 0.729 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.5226, allocations: 108 kB / 0.7291 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.5226, allocations: 28.08 kB / 0.7291 GB, free: 16.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 9.595e-05/0.5227, allocations: 158.8 kB / 0.7293 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.5227, allocations: 22.45 kB / 0.7293 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.5228, allocations: 25.58 kB / 0.7293 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5228, allocations: 5.703 kB / 0.7293 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5228, allocations: 1.953 kB / 0.7293 GB, free: 16.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.5228, allocations: 20.62 kB / 0.7294 GB, free: 16.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.5228, allocations: 11.55 kB / 0.7294 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.5228, allocations: 1.953 kB / 0.7294 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.5229, allocations: 16.91 kB / 0.7294 GB, free: 16.59 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001979/0.5231, allocations: 473.1 kB / 0.7298 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002148/0.5233, allocations: 0.5631 MB / 0.7304 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.537e-05/0.5234, allocations: 50.08 kB / 0.7304 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001062/0.5235, allocations: 174 kB / 0.7306 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of Backend: time 1.7e-07/0.5235, allocations: 0 / 0.7306 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007606/0.5242, allocations: 0.6319 MB / 0.7312 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0005915/0.5248, allocations: 0.7956 MB / 0.732 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.007494/0.5323, allocations: 5.308 MB / 0.7372 GB, free: 13.75 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.342504672938958] Failed to read output from testmodel.py, exit status != 0: 0.5384033448062837 0.5491250799999999 0.029602161000000002 Calling exit ...