Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007948/0.0007948, 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.0007713/0.0007713, 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.8933/0.8933, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.7199/0.7199, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.001098/0.001098, allocations: 71.89 kB / 0.6196 GB, free: 13.11 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.5494/0.5505, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001581/0.552, allocations: 0.9163 MB / 0.72 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.5532, allocations: 1.458 MB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.5533, allocations: 6.281 kB / 0.7214 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.5533, allocations: 17.11 kB / 0.7215 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.036e-05/0.5534, allocations: 61.78 kB / 0.7215 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.5541, allocations: 440.6 kB / 0.7219 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.5545, allocations: 0.4911 MB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.5546, allocations: 30.12 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.5548, allocations: 269.2 kB / 0.7227 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.555, allocations: 145.1 kB / 0.7228 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.5551, allocations: 48.78 kB / 0.7229 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.5552, allocations: 62.95 kB / 0.7229 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.5552, allocations: 36.48 kB / 0.723 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.5554, allocations: 153.4 kB / 0.7231 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.5558, allocations: 0.5743 MB / 0.7237 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5559, allocations: 0.7969 kB / 0.7237 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5559, allocations: 3.938 kB / 0.7237 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.5559, allocations: 4 kB / 0.7237 GB, free: 20.93 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.0004734/0.5563, allocations: 0.5598 MB / 0.7242 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5564, allocations: 8.984 kB / 0.7242 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.5564, allocations: 31.72 kB / 0.7243 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.5565, allocations: 171.2 kB / 0.7244 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5565, allocations: 12.78 kB / 0.7245 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.5566, allocations: 23.31 kB / 0.7245 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.5567, allocations: 120 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.5567, allocations: 192 / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.5567, allocations: 5.922 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5567, allocations: 2.781 kB / 0.7246 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.364e-05/0.5568, allocations: 60.11 kB / 0.7247 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.5574, allocations: 0.7274 MB / 0.7254 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.677e-05/0.5575, allocations: 114.4 kB / 0.7255 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.5575, allocations: 52.94 kB / 0.7255 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.5576, allocations: 2.938 kB / 0.7255 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.5578, allocations: 180.3 kB / 0.7257 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.614e-06/0.5578, allocations: 5.359 kB / 0.7257 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003535/0.5581, allocations: 226.8 kB / 0.7259 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.5582, allocations: 133.2 kB / 0.7261 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5583, allocations: 249.4 kB / 0.7263 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.5584, allocations: 37.77 kB / 0.7263 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.5584, allocations: 132.9 kB / 0.7265 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.5585, allocations: 31.48 kB / 0.7265 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.5586, allocations: 88.45 kB / 0.7266 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.5586, allocations: 339.6 kB / 0.7269 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.5589, allocations: 271.6 kB / 0.7271 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.5591, allocations: 357.1 kB / 0.7275 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.5594, allocations: 370 kB / 0.7278 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5594, allocations: 0 / 0.7278 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006502/0.56, allocations: 0.6905 MB / 0.7285 GB, free: 17.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.5601, allocations: 134.3 kB / 0.7286 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5601, allocations: 2.188 kB / 0.7286 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5601, allocations: 4.438 kB / 0.7287 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.5602, allocations: 14.86 kB / 0.7287 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5602, allocations: 5.25 kB / 0.7287 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.5606, allocations: 113.2 kB / 0.7288 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.5606, allocations: 27.27 kB / 0.7288 GB, free: 16.9 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 0.0001118/0.5608, allocations: 154.2 kB / 0.729 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.5608, allocations: 26.12 kB / 0.729 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.5608, allocations: 21.78 kB / 0.729 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5608, allocations: 6.438 kB / 0.729 GB, free: 16.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5608, allocations: 5.094 kB / 0.729 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.5608, allocations: 25.02 kB / 0.729 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.5609, allocations: 7.016 kB / 0.729 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.5609, allocations: 3.531 kB / 0.729 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.561, allocations: 20.03 kB / 0.7291 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002593/0.5612, allocations: 470.4 kB / 0.7295 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002679/0.5615, allocations: 0.5709 MB / 0.7301 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.531e-05/0.5616, allocations: 43.14 kB / 0.7301 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001259/0.5617, allocations: 174 kB / 0.7303 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of Backend: time 1.6e-07/0.5617, allocations: 0 / 0.7303 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008778/0.5626, allocations: 0.6344 MB / 0.7309 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006186/0.5632, allocations: 0.7898 MB / 0.7317 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.008144/0.5713, allocations: 5.308 MB / 0.7368 GB, free: 13.86 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3629257751163095] Failed to read output from testmodel.py, exit status != 0: 0.5775559220928699 0.5865684019999999 0.028715835000000002 Calling exit ...