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.0009735/0.0009735, allocations: 93.06 kB / 19.65 MB, free: 280 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.001135/0.001135, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.9643/0.9643, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8702/0.8702, allocations: 154.9 MB / 414.8 MB, free: 408 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 2.514e-06/2.514e-06, allocations: 0 / 0.5207 GB, free: 1.801 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.389e-05, allocations: 3.719 kB / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00132/0.001344, allocations: 0.7182 MB / 0.5214 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.002484, allocations: 1.175 MB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.002527, allocations: 0.625 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.002564, allocations: 3.938 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.002649, allocations: 25.16 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.003033, allocations: 127.6 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.003193, allocations: 124.3 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.003278, allocations: 13.52 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.00337, allocations: 67.89 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.003451, allocations: 27.95 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.003473, allocations: 12 kB / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.947e-05/0.003533, allocations: 32.56 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.003554, allocations: 11.94 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.003598, allocations: 25.39 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.003738, allocations: 95.77 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003741, allocations: 3.984 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003742, allocations: 0.75 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003746, allocations: 3.938 kB / 0.5231 GB, free: 15.36 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.0004001/0.004146, allocations: 423.1 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.00418, allocations: 8.031 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.004227, allocations: 8.938 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.606e-05/0.004323, allocations: 121.6 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.004341, allocations: 4.375 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.004357, allocations: 8.375 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/0.00444, allocations: 61.38 kB / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004448, allocations: 192 / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004456, allocations: 384 / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.004463, allocations: 384 / 0.5237 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/0.004493, allocations: 11.92 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.004805, allocations: 315.6 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.964e-05/0.004855, allocations: 32.64 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.004875, allocations: 11.75 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-06/0.004881, allocations: 4 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.916e-05/0.00496, allocations: 68.92 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.004961, allocations: 1.031 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.005127, allocations: 65.64 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.005162, allocations: 60.55 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.005251, allocations: 181.2 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.005267, allocations: 25.7 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.005317, allocations: 139.5 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/0.005329, allocations: 7.953 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.005373, allocations: 36.39 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.005488, allocations: 0.4884 MB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.005553, allocations: 53.69 kB / 0.5252 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.005621, allocations: 94.23 kB / 0.5253 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.895e-05/0.0057, allocations: 88.75 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005701, allocations: 1.188 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001803/0.005882, allocations: 177 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.005913, allocations: 46.31 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.005918, allocations: 4 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.005931, allocations: 1.281 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.89e-05/0.00598, allocations: 7.938 kB / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.005985, allocations: 0 / 0.5256 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.006083, allocations: 17.3 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.0061, allocations: 11.98 kB / 0.5256 GB, free: 12.55 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 7.907e-05/0.006179, allocations: 165.2 kB / 0.5258 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.00619, allocations: 11.89 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.006211, allocations: 14.69 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.006213, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.006217, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.00622, allocations: 0 / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.85e-05/0.006299, allocations: 132.6 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.0063, allocations: 0 / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.265e-06/0.006308, allocations: 0 / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.006309, allocations: 0 / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.006317, allocations: 10.88 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.006318, allocations: 0 / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006319, allocations: 0 / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.961e-05/0.006409, allocations: 100.5 kB / 0.526 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.006421, allocations: 8 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.006436, allocations: 7.922 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.019e-05/0.006446, allocations: 0 / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.006486, allocations: 7.984 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.006492, allocations: 5.5 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.006553, allocations: 135.2 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.006553, allocations: 0 / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001476/0.006701, allocations: 23.94 kB / 0.5262 GB, free: 11.88 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.0001127/0.006813, allocations: 99.03 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.00698, allocations: 152.7 kB / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006982, allocations: 0 / 0.5264 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.007004, allocations: 15.69 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.007164, allocations: 15.98 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.007436, allocations: 156.4 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.366e-05/0.00747, allocations: 59.34 kB / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.656e-05/0.007486, allocations: 0 / 0.5267 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.007506, allocations: 12.5 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.007506, allocations: 0 / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.003086/0.01059, allocations: 1.611 MB / 0.5283 GB, free: 9.789 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.8446439639665186]