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.001006/0.001006, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001083/0.001083, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9359/0.9359, allocations: 177.2 MB / 203.7 MB, free: 5.488 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.7357/0.7357, allocations: 154.9 MB / 415.1 MB, free: 244 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 1.924e-06/1.924e-06, allocations: 0 / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.365e-05, allocations: 7.5 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001417/0.00144, allocations: 0.9221 MB / 0.522 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.002832, allocations: 1.48 MB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.002897, allocations: 4 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.002934, allocations: 11.81 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.003055, allocations: 68.25 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.003741, allocations: 429.9 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.004111, allocations: 498.9 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004212, allocations: 30.78 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.004447, allocations: 267.6 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.004602, allocations: 134.7 kB / 0.5249 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.004651, allocations: 48 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.004735, allocations: 63.97 kB / 0.525 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.004763, allocations: 35.86 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.078e-05/0.004854, allocations: 135.8 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.005189, allocations: 347 kB / 0.5255 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005192, allocations: 0 / 0.5255 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005193, allocations: 0 / 0.5255 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.005198, allocations: 0 / 0.5255 GB, free: 13.09 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.0005483/0.005746, allocations: 0.659 MB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.005783, allocations: 12.59 kB / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.005846, allocations: 36.8 kB / 0.5262 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.005983, allocations: 168.4 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.006019, allocations: 16.38 kB / 0.5263 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.006068, allocations: 20.98 kB / 0.5264 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.006223, allocations: 123.1 kB / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.006231, allocations: 192 / 0.5265 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.00624, allocations: 4.375 kB / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.006246, allocations: 384 / 0.5265 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.006298, allocations: 36.78 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.007072, allocations: 0.8718 MB / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.007195, allocations: 125.7 kB / 0.5275 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/0.00724, allocations: 51.88 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.00725, allocations: 4 kB / 0.5275 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.007454, allocations: 176.3 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.007456, allocations: 0 / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003469/0.007803, allocations: 183.3 kB / 0.5279 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.007865, allocations: 132.5 kB / 0.528 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.008015, allocations: 276.2 kB / 0.5283 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.008048, allocations: 37.7 kB / 0.5283 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.008131, allocations: 184.6 kB / 0.5285 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.008154, allocations: 35.72 kB / 0.5285 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.008251, allocations: 95.28 kB / 0.5286 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.00837, allocations: 0.5047 MB / 0.5291 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.008518, allocations: 214.9 kB / 0.5293 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/0.00873, allocations: 331.2 kB / 0.5296 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.009041, allocations: 341.5 kB / 0.5299 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.009045, allocations: 4 kB / 0.5299 GB, free: 8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007414/0.009787, allocations: 0.5886 MB / 0.5305 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.009859, allocations: 134.8 kB / 0.5306 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.009867, allocations: 4.688 kB / 0.5307 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.009882, allocations: 5.156 kB / 0.5307 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.009943, allocations: 19.92 kB / 0.5307 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009948, allocations: 4 kB / 0.5307 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.01023, allocations: 85.92 kB / 0.5308 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.01027, allocations: 28.22 kB / 0.5308 GB, free: 7.059 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.000114/0.01038, allocations: 185.7 kB / 0.531 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.01041, allocations: 29.48 kB / 0.531 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.01045, allocations: 29.27 kB / 0.531 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.01045, allocations: 0 / 0.531 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01045, allocations: 4 kB / 0.531 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01046, allocations: 2.438 kB / 0.531 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.01059, allocations: 165 kB / 0.5312 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01059, allocations: 0 / 0.5312 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.01061, allocations: 11.98 kB / 0.5312 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.01062, allocations: 7.938 kB / 0.5312 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.01062, allocations: 4 kB / 0.5312 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01063, allocations: 3.938 kB / 0.5312 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01063, allocations: 2.594 kB / 0.5312 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.01079, allocations: 201.6 kB / 0.5314 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.01082, allocations: 27.81 kB / 0.5314 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.01083, allocations: 11.94 kB / 0.5314 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.337e-05/0.01087, allocations: 0 / 0.5314 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.0109, allocations: 23.91 kB / 0.5315 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01091, allocations: 4 kB / 0.5315 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.377e-05/0.01098, allocations: 186 kB / 0.5317 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01098, allocations: 0 / 0.5317 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002045/0.01119, allocations: 68.98 kB / 0.5317 GB, free: 6.047 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.0001294/0.01131, allocations: 113.7 kB / 0.5318 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003542/0.01167, allocations: 0.5401 MB / 0.5324 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01167, allocations: 0 / 0.5324 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.01172, allocations: 52.22 kB / 0.5324 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01198, allocations: 76.08 kB / 0.5325 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.01232, allocations: 330.2 kB / 0.5328 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.802e-05/0.01236, allocations: 76.48 kB / 0.5329 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.0124, allocations: 19.2 kB / 0.5329 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.01259, allocations: 167.3 kB / 0.533 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01259, allocations: 0 / 0.533 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of Templates: time 0.005975/0.01857, allocations: 5.478 MB / 0.5384 GB, free: 15.36 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.4454561970196664]