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.001348/0.001348, allocations: 75.48 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001669/0.001669, allocations: 164.3 kB / 22.44 MB, free: 5.309 MB / 14.72 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 1.455/1.455, allocations: 177.2 MB / 202.8 MB, free: 9.215 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.194/1.194, allocations: 155 MB / 414.2 MB, free: 4.945 MB / 382.1 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 178] 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.002028/0.002028, allocations: 66.84 kB / 0.6191 GB, free: 4.141 MB / 0.5294 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.5281/0.5302, allocations: 102 MB / 0.7187 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001939/0.5321, allocations: 0.9166 MB / 0.7196 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.5336, allocations: 1.459 MB / 0.7211 GB, free: 116 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.136e-05/0.5337, allocations: 1.094 kB / 0.7211 GB, free: 116 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.5337, allocations: 17.2 kB / 0.7211 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.5339, allocations: 60.64 kB / 0.7211 GB, free: 56 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.535, allocations: 452.5 kB / 0.7216 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005876/0.5355, allocations: 0.4885 MB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.5357, allocations: 24.45 kB / 0.7221 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.536, allocations: 272.2 kB / 0.7223 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.5363, allocations: 153.8 kB / 0.7225 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.5363, allocations: 49.22 kB / 0.7225 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.5364, allocations: 57.58 kB / 0.7226 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.5365, allocations: 41.83 kB / 0.7226 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.5367, allocations: 149 kB / 0.7228 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.5374, allocations: 0.5744 MB / 0.7233 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5374, allocations: 0 / 0.7233 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5374, allocations: 0 / 0.7233 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.5374, allocations: 0.7031 kB / 0.7233 GB, free: 15.02 MB / 0.6231 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.0008843/0.5383, allocations: 0.5637 MB / 0.7239 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.5383, allocations: 10.94 kB / 0.7239 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.5384, allocations: 32 kB / 0.7239 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.5386, allocations: 163.6 kB / 0.7241 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/0.5387, allocations: 16.06 kB / 0.7241 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.549e-05/0.5387, allocations: 32.09 kB / 0.7241 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.539, allocations: 125.8 kB / 0.7242 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.539, allocations: 0.75 kB / 0.7242 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.539, allocations: 6.234 kB / 0.7242 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.539, allocations: 2.062 kB / 0.7242 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.5391, allocations: 56.36 kB / 0.7243 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5402, allocations: 0.727 MB / 0.725 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.5404, allocations: 115.2 kB / 0.7251 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.504e-05/0.5405, allocations: 48.95 kB / 0.7252 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5405, allocations: 5.906 kB / 0.7252 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.5408, allocations: 178.1 kB / 0.7253 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.5408, allocations: 0.5 kB / 0.7253 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of matching and sorting (n=16): time 0.0005291/0.5414, allocations: 223.8 kB / 0.7256 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.5415, allocations: 139.9 kB / 0.7257 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.5417, allocations: 244 kB / 0.7259 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.5418, allocations: 37.23 kB / 0.726 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.542, allocations: 137.5 kB / 0.7261 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.542, allocations: 31.16 kB / 0.7261 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.5422, allocations: 89.08 kB / 0.7262 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5424, allocations: 334 kB / 0.7265 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.5427, allocations: 281.5 kB / 0.7268 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.5432, allocations: 349.7 kB / 0.7271 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.5436, allocations: 378.6 kB / 0.7275 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5436, allocations: 1.281 kB / 0.7275 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00103/0.5446, allocations: 0.6858 MB / 0.7282 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.5448, allocations: 134.9 kB / 0.7283 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5448, allocations: 2.812 kB / 0.7283 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5448, allocations: 8.375 kB / 0.7283 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.392e-05/0.5449, allocations: 15.41 kB / 0.7283 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.5449, allocations: 8.344 kB / 0.7283 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.5455, allocations: 107.8 kB / 0.7284 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.5456, allocations: 29.09 kB / 0.7284 GB, free: 10.97 MB / 0.6231 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.0001924/0.5458, allocations: 161.4 kB / 0.7286 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.5458, allocations: 27.23 kB / 0.7286 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.5459, allocations: 21.45 kB / 0.7286 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5459, allocations: 3.125 kB / 0.7287 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.5459, allocations: 1.312 kB / 0.7287 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5459, allocations: 2.031 kB / 0.7287 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002475/0.5462, allocations: 187.3 kB / 0.7288 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5462, allocations: 5.344 kB / 0.7288 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.5462, allocations: 9.781 kB / 0.7288 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.5462, allocations: 1.469 kB / 0.7288 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.5462, allocations: 8.594 kB / 0.7289 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5462, allocations: 1.531 kB / 0.7289 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5462, allocations: 1.188 kB / 0.7289 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.5466, allocations: 224.5 kB / 0.7291 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.5466, allocations: 20.09 kB / 0.7291 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.5466, allocations: 7.953 kB / 0.7291 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.5467, allocations: 2.5 kB / 0.7291 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.5467, allocations: 16.5 kB / 0.7291 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.5468, allocations: 11.03 kB / 0.7291 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001713/0.5469, allocations: 174.3 kB / 0.7293 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5469, allocations: 0 / 0.7293 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003433/0.5473, allocations: 64.11 kB / 0.7294 GB, free: 10.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001771/0.5474, allocations: 114.3 kB / 0.7295 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.5483, allocations: 0.5984 MB / 0.7301 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5483, allocations: 4.062 kB / 0.7301 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.5484, allocations: 55.58 kB / 0.7301 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.5489, allocations: 73.92 kB / 0.7302 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.5496, allocations: 354 kB / 0.7305 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.5497, allocations: 116.7 kB / 0.7306 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.605e-05/0.5498, allocations: 27.16 kB / 0.7307 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.5498, allocations: 18.86 kB / 0.7307 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.5498, allocations: 1.5 kB / 0.7307 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of Templates: time 0.01057/0.5604, allocations: 5.092 MB / 0.7356 GB, free: 8.766 MB / 0.6231 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: 6.1945030596107244] Failed to read output from testmodel.py, exit status != 0: 0.5688376724720001 0.584295519 0.04384631 Calling exit ...