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.001071/0.001071, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.001225/0.001225, allocations: 172.9 kB / 23.36 MB, free: 1.125 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 1.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8517/0.8517, allocations: 154.9 MB / 415.1 MB, free: 220 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.744e-06/1.744e-06, allocations: 0.7656 kB / 480.4 MB, free: 6.457 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.333e-05, allocations: 4.422 kB / 480.4 MB, free: 6.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001588/0.001612, allocations: 0.7547 MB / 481.2 MB, free: 5.734 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.002806, allocations: 1.191 MB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.002844, allocations: 0.7812 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.002867, allocations: 3.938 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.9e-05/0.002946, allocations: 17.03 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.003261, allocations: 132.9 kB / 482.5 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.003439, allocations: 125.5 kB / 482.7 MB, free: 4.285 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.003504, allocations: 12.98 kB / 482.7 MB, free: 4.273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.003596, allocations: 63.89 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.003673, allocations: 34.03 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.003693, allocations: 12.78 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.003758, allocations: 31.92 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.003772, allocations: 1.438 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.003812, allocations: 43.89 kB / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.00393, allocations: 91.77 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003932, allocations: 4 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003933, allocations: 0.8438 kB / 483 MB, free: 4.004 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.003936, allocations: 0 / 483 MB, free: 4.004 MB / 442.7 MB 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.0002959/0.004232, allocations: 298.2 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.00427, allocations: 12.03 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.004303, allocations: 9.703 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.067e-05/0.004374, allocations: 109.8 kB / 483.4 MB, free: 3.531 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.004386, allocations: 5 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.004398, allocations: 4.375 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.078e-05/0.004459, allocations: 60.39 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.004464, allocations: 192 / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.00447, allocations: 4.359 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.004474, allocations: 384 / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.004562, allocations: 10.03 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.004773, allocations: 172.2 kB / 483.6 MB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.292e-05/0.004806, allocations: 26.61 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.011e-05/0.004816, allocations: 8.797 kB / 483.7 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/0.004823, allocations: 4.062 kB / 483.7 MB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.528e-05/0.004888, allocations: 56.05 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.004889, allocations: 0.9688 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 9.6e-05/0.004985, allocations: 58.73 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.005013, allocations: 59.34 kB / 483.8 MB, free: 3.012 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.005075, allocations: 127.6 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.005091, allocations: 29.7 kB / 484 MB, free: 2.844 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.005124, allocations: 96.06 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.005134, allocations: 4.578 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.005175, allocations: 34.31 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.00524, allocations: 318.8 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/0.005283, allocations: 50.31 kB / 484.5 MB, free: 2.328 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.005328, allocations: 72.25 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.005385, allocations: 81.34 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.005387, allocations: 4.531 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001166/0.005503, allocations: 145.8 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.005528, allocations: 37.69 kB / 484.8 MB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005532, allocations: 1.281 kB / 484.8 MB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.005542, allocations: 3.938 kB / 484.8 MB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.27e-05/0.005574, allocations: 4 kB / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.005577, allocations: 0.6562 kB / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.005675, allocations: 24.89 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.005688, allocations: 7.984 kB / 484.9 MB, free: 1.902 MB / 442.7 MB 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 5.258e-05/0.005741, allocations: 110.8 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.005748, allocations: 4 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.005767, allocations: 12.61 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.005769, allocations: 3.938 kB / 485 MB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005771, allocations: 5.688 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.005774, allocations: 0.7031 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.577e-05/0.005829, allocations: 77.88 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.00583, allocations: 0 / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.117e-06/0.005839, allocations: 1.719 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.00584, allocations: 0 / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-06/0.005843, allocations: 0 / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005845, allocations: 8.062 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005846, allocations: 0 / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.288e-05/0.005909, allocations: 79.59 kB / 485.1 MB, free: 1.566 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.005917, allocations: 3.953 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.005924, allocations: 0 / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.005934, allocations: 4.812 kB / 485.2 MB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.006078, allocations: 7.922 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.00608, allocations: 0.75 kB / 485.2 MB, free: 1.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.888e-05/0.006099, allocations: 24.78 kB / 485.2 MB, free: 1.523 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006099, allocations: 2 kB / 485.2 MB, free: 1.523 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001127/0.006212, allocations: 27.92 kB / 485.2 MB, free: 1.496 MB / 442.7 MB 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 8.5e-05/0.006297, allocations: 76.42 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.006431, allocations: 134.6 kB / 485.4 MB, free: 1.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.006434, allocations: 8 kB / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.006453, allocations: 17.38 kB / 485.5 MB, free: 1.234 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.979e-05/0.006552, allocations: 30.05 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.006741, allocations: 133.1 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.565e-05/0.006767, allocations: 59.34 kB / 485.7 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.717e-05/0.006784, allocations: 5.484 kB / 485.7 MB, free: 0.9688 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.006858, allocations: 68.8 kB / 485.7 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006859, allocations: 0 / 485.7 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of Templates: time 0.002759/0.009618, allocations: 1.597 MB / 487.3 MB, free: 15.41 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -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.6882021110504866]