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.0009838/0.0009838, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009023/0.0009023, allocations: 173 kB / 23.36 MB, free: 1.133 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/1, allocations: 177.1 MB / 203.8 MB, free: 5.449 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.8131/0.8131, allocations: 154.9 MB / 415.1 MB, free: 224 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.933e-06/1.933e-06, allocations: 3.938 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/2.014e-05, allocations: 2.312 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001447/0.001467, allocations: 0.7113 MB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.002685, allocations: 1.195 MB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.00273, allocations: 0 / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.002757, allocations: 3.938 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.002842, allocations: 22.17 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.003208, allocations: 123.6 kB / 482.4 MB, free: 4.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.003358, allocations: 124.7 kB / 482.6 MB, free: 4.371 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.771e-05/0.003426, allocations: 13.86 kB / 482.6 MB, free: 4.359 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.599e-05/0.003512, allocations: 71.28 kB / 482.7 MB, free: 4.293 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.003592, allocations: 38.69 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.003611, allocations: 16 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.00367, allocations: 23.98 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.003688, allocations: 4 kB / 482.7 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.003724, allocations: 36.7 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.00384, allocations: 95.75 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.003841, allocations: 0.8125 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003842, allocations: 0 / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.003845, allocations: 1.156 kB / 482.9 MB, free: 4.086 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.0002865/0.004131, allocations: 297.5 kB / 483.2 MB, free: 3.766 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.004158, allocations: 8.031 kB / 483.2 MB, free: 3.758 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.004185, allocations: 9.562 kB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.004257, allocations: 122.7 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.004271, allocations: 4.375 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.004284, allocations: 4.375 kB / 483.3 MB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.566e-05/0.004339, allocations: 52.11 kB / 483.4 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-06/0.004344, allocations: 192 / 483.4 MB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.00435, allocations: 4.375 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.004354, allocations: 2.25 kB / 483.4 MB, free: 3.535 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.004371, allocations: 11.92 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.00459, allocations: 172.2 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.823e-05/0.004628, allocations: 22.56 kB / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.004639, allocations: 8.922 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.004647, allocations: 5.125 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.838e-05/0.004715, allocations: 56.33 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.004716, allocations: 0.5312 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001069/0.004823, allocations: 62.22 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.004854, allocations: 55.39 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.004919, allocations: 127.8 kB / 483.9 MB, free: 2.961 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.004934, allocations: 25.7 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.004969, allocations: 88.09 kB / 484 MB, free: 2.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.004985, allocations: 19.92 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.005023, allocations: 28.89 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.005112, allocations: 322.8 kB / 484.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.005154, allocations: 49.69 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.03e-05/0.005205, allocations: 72.25 kB / 484.5 MB, free: 2.324 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.978e-05/0.005265, allocations: 80.25 kB / 484.5 MB, free: 2.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005266, allocations: 0 / 484.5 MB, free: 2.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001224/0.005389, allocations: 154.5 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.005416, allocations: 33.7 kB / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.005421, allocations: 4.859 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005433, allocations: 3.938 kB / 484.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.982e-05/0.005472, allocations: 4.906 kB / 484.7 MB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.005477, allocations: 3.938 kB / 484.7 MB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.966e-05/0.005577, allocations: 20.61 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.005587, allocations: 4.625 kB / 484.8 MB, free: 1.984 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 6.692e-05/0.005654, allocations: 114.5 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.005663, allocations: 4.938 kB / 484.9 MB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.081e-05/0.005684, allocations: 12.62 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.005687, allocations: 4.562 kB / 484.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.005689, allocations: 0 / 484.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.005694, allocations: 0.625 kB / 484.9 MB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.839e-05/0.005762, allocations: 73.88 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005763, allocations: 0.8125 kB / 485 MB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.217e-06/0.005772, allocations: 7.984 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.005773, allocations: 1.781 kB / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.477e-06/0.005777, allocations: 0 / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005777, allocations: 0 / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005778, allocations: 0 / 485 MB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.523e-05/0.005843, allocations: 77.61 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.005854, allocations: 12.59 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-06/0.005862, allocations: 0 / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.005871, allocations: 1.844 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.005891, allocations: 3.938 kB / 485.1 MB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.005894, allocations: 4.625 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.915e-05/0.005914, allocations: 24.77 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005914, allocations: 0.5 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001166/0.00603, allocations: 24.75 kB / 485.1 MB, free: 1.578 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 9.674e-05/0.006127, allocations: 81.62 kB / 485.2 MB, free: 1.492 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.00626, allocations: 137.9 kB / 485.3 MB, free: 1.336 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.006263, allocations: 5.906 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.006281, allocations: 12.86 kB / 485.4 MB, free: 1.316 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.958e-05/0.00638, allocations: 25.8 kB / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.006594, allocations: 143.5 kB / 485.5 MB, free: 1.133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.006622, allocations: 60.19 kB / 485.6 MB, free: 1.055 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.564e-05/0.006638, allocations: 4 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.149e-05/0.006709, allocations: 68.5 kB / 485.7 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.00671, allocations: 3.938 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of Templates: time 0.002937/0.009647, allocations: 1.601 MB / 487.3 MB, free: 15.49 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 -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.7713578208349645]