Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0009224/0.0009224, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009495/0.0009495, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.092/1.092, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8151/0.8151, allocations: 154.9 MB / 415.9 MB, free: 268 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.5219 GB, free: 1.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.179e-05, allocations: 4.828 kB / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001499/0.00153, allocations: 0.703 MB / 0.5226 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.002761, allocations: 1.184 MB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.002809, allocations: 0 / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.002838, allocations: 3.938 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.277e-05/0.002921, allocations: 11.94 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.003276, allocations: 132.8 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.003432, allocations: 127.7 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.905e-05/0.003511, allocations: 8 kB / 0.5241 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.198e-05/0.003603, allocations: 69.36 kB / 0.5241 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.00369, allocations: 35.88 kB / 0.5242 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.003713, allocations: 12 kB / 0.5242 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.254e-05/0.003765, allocations: 27.98 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.003785, allocations: 8.875 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.003826, allocations: 35.97 kB / 0.5242 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.003958, allocations: 95.7 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.00396, allocations: 0.9688 kB / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.003962, allocations: 0 / 0.5243 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.003965, allocations: 1 kB / 0.5243 GB, free: 15.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003968/0.004362, allocations: 426.1 kB / 0.5247 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.004394, allocations: 12.03 kB / 0.5247 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.00443, allocations: 5.531 kB / 0.5248 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.296e-05/0.004513, allocations: 113.1 kB / 0.5249 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.00453, allocations: 8.359 kB / 0.5249 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.004544, allocations: 9.406 kB / 0.5249 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.501e-05/0.004619, allocations: 54.89 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.004626, allocations: 192 / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.004632, allocations: 1.438 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.004636, allocations: 384 / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.724e-05/0.004653, allocations: 7.938 kB / 0.5249 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.004919, allocations: 296.9 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.004965, allocations: 35.44 kB / 0.5253 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.004979, allocations: 13.19 kB / 0.5253 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.004984, allocations: 0 / 0.5253 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.795e-05/0.005062, allocations: 61.05 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005062, allocations: 1.812 kB / 0.5253 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001405/0.005203, allocations: 73.5 kB / 0.5254 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.005234, allocations: 51.41 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.005315, allocations: 181.9 kB / 0.5256 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.005332, allocations: 33.7 kB / 0.5257 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.005389, allocations: 136.6 kB / 0.5258 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.005404, allocations: 7.953 kB / 0.5258 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.005446, allocations: 35.34 kB / 0.5258 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.005565, allocations: 0.4923 MB / 0.5263 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.00561, allocations: 45.69 kB / 0.5263 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.005664, allocations: 85.47 kB / 0.5264 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.681e-05/0.005731, allocations: 86.09 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005733, allocations: 0 / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.005889, allocations: 174 kB / 0.5267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.005916, allocations: 37.69 kB / 0.5267 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.005922, allocations: 8.938 kB / 0.5267 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.00593, allocations: 4 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.401e-05/0.005964, allocations: 4 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005967, allocations: 3.25 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.677e-05/0.006064, allocations: 15.98 kB / 0.5267 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.00608, allocations: 11.98 kB / 0.5268 GB, free: 12.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 6.655e-05/0.006147, allocations: 156.6 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.006156, allocations: 11.89 kB / 0.5269 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.006176, allocations: 16.17 kB / 0.5269 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006178, allocations: 3.984 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.00618, allocations: 3.031 kB / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.006182, allocations: 0 / 0.5269 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.818e-05/0.00625, allocations: 105.2 kB / 0.527 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.006252, allocations: 3.984 kB / 0.527 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-06/0.00626, allocations: 7.938 kB / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.006261, allocations: 0 / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.006265, allocations: 0 / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.006266, allocations: 0 / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.006268, allocations: 5.438 kB / 0.5271 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.422e-05/0.006343, allocations: 92.39 kB / 0.5271 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.006354, allocations: 15.92 kB / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-06/0.006361, allocations: 0 / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.006374, allocations: 5.5 kB / 0.5272 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.006392, allocations: 7.875 kB / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.006394, allocations: 0 / 0.5272 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.006436, allocations: 138.6 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006436, allocations: 1.281 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000143/0.006579, allocations: 23.94 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001094/0.006689, allocations: 99.89 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.006844, allocations: 141.4 kB / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006845, allocations: 0.5 kB / 0.5276 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.06e-05/0.006866, allocations: 19.62 kB / 0.5276 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.007036, allocations: 18.45 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.007283, allocations: 150 kB / 0.5277 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.901e-05/0.007312, allocations: 55.36 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.007331, allocations: 10.42 kB / 0.5278 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.007408, allocations: 90.19 kB / 0.5279 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.007409, allocations: 0 / 0.5279 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.002961/0.01037, allocations: 1.652 MB / 0.5295 GB, free: 9.473 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.990305222105235]