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.0009721/0.0009721, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009606/0.0009606, allocations: 169.3 kB / 23.02 MB, free: 1.543 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.9573/0.9573, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.889/0.889, allocations: 154.9 MB / 414.8 MB, free: 404 kB / 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.955e-06/2.955e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.777 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/3.644e-05, allocations: 4.844 kB / 0.5207 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001663/0.001699, allocations: 0.9457 MB / 0.5216 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.003408, allocations: 1.483 MB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.00348, allocations: 0 / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.003525, allocations: 15.75 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.003671, allocations: 64.97 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.00451, allocations: 433.3 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.004979, allocations: 0.4911 MB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.005097, allocations: 31.28 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.005368, allocations: 263.6 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.005562, allocations: 131.6 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.005618, allocations: 48 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.005719, allocations: 64.48 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.005759, allocations: 39.22 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.005876, allocations: 135.8 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.006232, allocations: 347 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006235, allocations: 0 / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006236, allocations: 0 / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.006242, allocations: 4 kB / 0.5251 GB, free: 13.33 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.0006797/0.006922, allocations: 0.6546 MB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.006962, allocations: 12.02 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.007052, allocations: 36.8 kB / 0.5257 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.007193, allocations: 164.3 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.007222, allocations: 12.94 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.00726, allocations: 28.36 kB / 0.5259 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.007424, allocations: 122.2 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.007434, allocations: 1.062 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.007448, allocations: 8.375 kB / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.007457, allocations: 384 / 0.5261 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.213e-05/0.007519, allocations: 45.3 kB / 0.5261 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007385/0.008258, allocations: 0.8985 MB / 0.527 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.008389, allocations: 133.2 kB / 0.5271 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.008435, allocations: 51.83 kB / 0.5272 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.008445, allocations: 4 kB / 0.5272 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.008618, allocations: 174 kB / 0.5273 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.00862, allocations: 3.938 kB / 0.5273 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003235/0.008943, allocations: 193.3 kB / 0.5275 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.008995, allocations: 133.3 kB / 0.5276 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.009168, allocations: 284.3 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.009207, allocations: 37.7 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.009292, allocations: 176.6 kB / 0.5281 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.009318, allocations: 35.73 kB / 0.5282 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.00943, allocations: 95.31 kB / 0.5282 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.009559, allocations: 0.5014 MB / 0.5287 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.009776, allocations: 231 kB / 0.529 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.01005, allocations: 344.3 kB / 0.5293 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.01034, allocations: 361.4 kB / 0.5296 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01034, allocations: 2.75 kB / 0.5296 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006288/0.01097, allocations: 0.6276 MB / 0.5302 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/0.01104, allocations: 134.8 kB / 0.5304 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.01105, allocations: 1.031 kB / 0.5304 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01107, allocations: 4 kB / 0.5304 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.01114, allocations: 12 kB / 0.5304 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.01115, allocations: 16.84 kB / 0.5304 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.01142, allocations: 93.2 kB / 0.5305 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.01146, allocations: 24.64 kB / 0.5305 GB, free: 7.152 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.0001218/0.01158, allocations: 181.8 kB / 0.5307 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.01161, allocations: 31.83 kB / 0.5307 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.01165, allocations: 20.72 kB / 0.5307 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01165, allocations: 4 kB / 0.5307 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.01166, allocations: 7.922 kB / 0.5308 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.01167, allocations: 4 kB / 0.5308 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.01183, allocations: 192.4 kB / 0.5309 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01183, allocations: 3.984 kB / 0.5309 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.01186, allocations: 10.94 kB / 0.531 GB, free: 6.668 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.01186, allocations: 4 kB / 0.531 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.01187, allocations: 4 kB / 0.531 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01187, allocations: 4 kB / 0.531 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01188, allocations: 0 / 0.531 GB, free: 6.656 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.01208, allocations: 221.3 kB / 0.5312 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01211, allocations: 23.83 kB / 0.5312 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01213, allocations: 4 kB / 0.5312 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.01216, allocations: 4.625 kB / 0.5312 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.0122, allocations: 15.97 kB / 0.5312 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.01221, allocations: 13.34 kB / 0.5312 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.655e-05/0.01231, allocations: 193.1 kB / 0.5314 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/0.01231, allocations: 0 / 0.5314 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002265/0.01253, allocations: 69.14 kB / 0.5315 GB, free: 6.09 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.000137/0.01267, allocations: 113.8 kB / 0.5316 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.01311, allocations: 0.5629 MB / 0.5321 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01311, allocations: 0 / 0.5321 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.01317, allocations: 52.25 kB / 0.5322 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.01346, allocations: 72.14 kB / 0.5323 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.01393, allocations: 343.4 kB / 0.5326 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.01398, allocations: 71.98 kB / 0.5327 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.354e-05/0.01404, allocations: 18.86 kB / 0.5327 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.01407, allocations: 20.5 kB / 0.5327 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.01407, allocations: 0 / 0.5327 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of Templates: time 0.007631/0.0217, allocations: 5.487 MB / 0.5381 GB, free: 15.5 MB / 0.5105 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.97810794506222]