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.001146/0.001146, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001353/0.001353, allocations: 173 kB / 23.49 MB, free: 1.059 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.9896/0.9896, allocations: 177.1 MB / 203.8 MB, free: 5.652 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-535:34: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-535:42: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 0.7842/0.7842, allocations: 154.8 MB / 415.1 MB, free: 0.4922 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: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.5206 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.364e-05, allocations: 4.281 kB / 0.5206 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001871/0.001905, allocations: 0.9434 MB / 0.5215 GB, free: 1.336 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.003477, allocations: 1.479 MB / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.003559, allocations: 0 / 0.5229 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.661e-05/0.003606, allocations: 20.7 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.003761, allocations: 67.5 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.004602, allocations: 429.4 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.005067, allocations: 0.4916 MB / 0.5239 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.005193, allocations: 34.62 kB / 0.524 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.005462, allocations: 260.8 kB / 0.5242 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.00564, allocations: 135.6 kB / 0.5243 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.005694, allocations: 52 kB / 0.5244 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.005786, allocations: 56 kB / 0.5244 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.005823, allocations: 36.47 kB / 0.5245 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.005939, allocations: 141.6 kB / 0.5246 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.006275, allocations: 347 kB / 0.5249 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.006279, allocations: 0 / 0.5249 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00628, allocations: 0 / 0.5249 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.006286, allocations: 0 / 0.5249 GB, free: 13.81 MB / 0.4948 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.0007295/0.007015, allocations: 0.6601 MB / 0.5256 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.007058, allocations: 8.031 kB / 0.5256 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.36e-05/0.007151, allocations: 36.8 kB / 0.5256 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004188/0.00757, allocations: 167.8 kB / 0.5258 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.007602, allocations: 16.38 kB / 0.5258 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.59e-05/0.007638, allocations: 21.75 kB / 0.5258 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.007798, allocations: 127.4 kB / 0.5259 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.007806, allocations: 192 / 0.5259 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.00782, allocations: 8.891 kB / 0.5259 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.007829, allocations: 4.375 kB / 0.526 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.748e-05/0.007887, allocations: 28.61 kB / 0.526 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.008559, allocations: 0.9078 MB / 0.5269 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.008682, allocations: 133.6 kB / 0.527 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.00873, allocations: 50.73 kB / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.008738, allocations: 0 / 0.527 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.008918, allocations: 179 kB / 0.5272 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.008919, allocations: 4 kB / 0.5272 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003284/0.009247, allocations: 197.3 kB / 0.5274 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.009307, allocations: 132.5 kB / 0.5275 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.009493, allocations: 284.3 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.00953, allocations: 37.7 kB / 0.5278 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.009619, allocations: 167.3 kB / 0.528 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.009653, allocations: 43.72 kB / 0.528 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.009764, allocations: 91.31 kB / 0.5281 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.009889, allocations: 0.5085 MB / 0.5286 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.01011, allocations: 223.5 kB / 0.5288 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.01036, allocations: 348.2 kB / 0.5292 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.01064, allocations: 357.7 kB / 0.5295 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01065, allocations: 0.5 kB / 0.5295 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005995/0.01125, allocations: 0.6354 MB / 0.5301 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/0.01132, allocations: 130.8 kB / 0.5303 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01132, allocations: 4 kB / 0.5303 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.01134, allocations: 7.984 kB / 0.5303 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.01141, allocations: 8 kB / 0.5303 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01142, allocations: 7.938 kB / 0.5303 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.0117, allocations: 90.56 kB / 0.5304 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.01173, allocations: 27.97 kB / 0.5304 GB, free: 7.637 MB / 0.4948 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.0001165/0.01185, allocations: 181.7 kB / 0.5306 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.01188, allocations: 31.8 kB / 0.5306 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.01191, allocations: 26.27 kB / 0.5306 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01192, allocations: 3.938 kB / 0.5306 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.01192, allocations: 4 kB / 0.5306 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01193, allocations: 0.9375 kB / 0.5306 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01207, allocations: 192.4 kB / 0.5308 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01208, allocations: 0.6562 kB / 0.5308 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.0121, allocations: 11.98 kB / 0.5308 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.01211, allocations: 5.188 kB / 0.5308 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01212, allocations: 4 kB / 0.5308 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01212, allocations: 0 / 0.5308 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01212, allocations: 2.438 kB / 0.5308 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.01232, allocations: 219.2 kB / 0.531 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.01235, allocations: 20.78 kB / 0.5311 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.01237, allocations: 11.98 kB / 0.5311 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.189e-05/0.0124, allocations: 0 / 0.5311 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.01245, allocations: 19.97 kB / 0.5311 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01246, allocations: 4 kB / 0.5311 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001086/0.01257, allocations: 200.2 kB / 0.5313 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01257, allocations: 0 / 0.5313 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002322/0.0128, allocations: 67.95 kB / 0.5314 GB, free: 6.582 MB / 0.4948 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.0001517/0.01295, allocations: 118.2 kB / 0.5315 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004519/0.0134, allocations: 0.5583 MB / 0.532 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.0134, allocations: 0 / 0.532 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.01347, allocations: 59.77 kB / 0.5321 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.01378, allocations: 77.55 kB / 0.5321 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.01456, allocations: 338.2 kB / 0.5325 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.0146, allocations: 75.98 kB / 0.5325 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.53e-05/0.01466, allocations: 20.89 kB / 0.5326 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.01469, allocations: 16.5 kB / 0.5326 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.01469, allocations: 0 / 0.5326 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of Templates: time 0.006567/0.02126, allocations: 5.054 MB / 0.5375 GB, free: 408 kB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8705529801081866]