Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0007885/0.0007885, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001893, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007607/0.0007607, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001001/0.001762, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9886/0.9886, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09206/1.081, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8036/0.8036, allocations: 155.3 MB / 399.3 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2798/1.083, allocations: 49.14 MB / 448.4 MB, free: 5.988 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 449.8 MB, free: 4.645 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.068e-05, allocations: 3.438 kB / 449.8 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001992/0.002013, allocations: 0.9025 MB / 450.7 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.003733, allocations: 1.231 MB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.0038, allocations: 0.5625 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.003839, allocations: 8.531 kB / 451.9 MB, free: 2.527 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003943, allocations: 20.06 kB / 451.9 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.004313, allocations: 151.5 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.004533, allocations: 159.1 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.004642, allocations: 33.81 kB / 452.3 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.004796, allocations: 119.5 kB / 452.4 MB, free: 2.082 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.004902, allocations: 47.14 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.004926, allocations: 12 kB / 452.4 MB, free: 2.027 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.005007, allocations: 26.2 kB / 452.5 MB, free: 2.004 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.005032, allocations: 15.94 kB / 452.5 MB, free: 1.988 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.005079, allocations: 31.94 kB / 452.5 MB, free: 1.957 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.005242, allocations: 99.59 kB / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.639e-05/0.005259, allocations: 0 / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005259, allocations: 0 / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.005278, allocations: 1.969 kB / 452.6 MB, free: 1.859 MB / 426.7 MB 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.0006454/0.005923, allocations: 387.8 kB / 453 MB, free: 1.449 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.005958, allocations: 8.031 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.006004, allocations: 17.55 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.00617, allocations: 149.5 kB / 453.2 MB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.006186, allocations: 9.938 kB / 453.2 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.006213, allocations: 16.31 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.00635, allocations: 78.91 kB / 453.3 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.006359, allocations: 4.188 kB / 453.3 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.006369, allocations: 6.406 kB / 453.3 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006375, allocations: 384 / 453.3 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.006407, allocations: 20.62 kB / 453.3 MB, free: 1.117 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.006829, allocations: 224 kB / 453.5 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.175e-05/0.006881, allocations: 27.41 kB / 453.5 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/0.006898, allocations: 8.859 kB / 453.5 MB, free: 0.8359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.006919, allocations: 6.406 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001139/0.007033, allocations: 83.34 kB / 453.6 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.007035, allocations: 0.6875 kB / 453.6 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001583/0.007193, allocations: 78.25 kB / 453.7 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.007233, allocations: 59.41 kB / 453.8 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.007323, allocations: 146.4 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.007345, allocations: 33.7 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.007403, allocations: 107.4 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.007425, allocations: 32.56 kB / 454.1 MB, free: 264 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.007477, allocations: 49.58 kB / 454.1 MB, free: 208 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.007573, allocations: 327.7 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.855e-05/0.007632, allocations: 53.67 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.007716, allocations: 136.8 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.007857, allocations: 169.4 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.00786, allocations: 7.938 kB / 454.8 MB, free: 15.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001881/0.008048, allocations: 211.4 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.008089, allocations: 39.7 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.008096, allocations: 4 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.008107, allocations: 5.438 kB / 455.1 MB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.008187, allocations: 31.91 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.008192, allocations: 4 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.411e-05/0.008286, allocations: 24.77 kB / 455.1 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.008301, allocations: 13.42 kB / 455.1 MB, free: 15.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.815e-05/0.008379, allocations: 135.3 kB / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.008393, allocations: 11.98 kB / 455.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.00842, allocations: 13.62 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.008424, allocations: 4.703 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.008427, allocations: 0.7188 kB / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.00843, allocations: 0 / 455.3 MB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.008665, allocations: 243.4 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.008669, allocations: 3.984 kB / 455.5 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.262e-05/0.008711, allocations: 12.66 kB / 455.5 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.008719, allocations: 4.953 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.008722, allocations: 4 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.008731, allocations: 6.844 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008732, allocations: 1.094 kB / 455.6 MB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.008735, allocations: 3.938 kB / 455.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.008863, allocations: 176.1 kB / 455.7 MB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.008875, allocations: 4 kB / 455.7 MB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.008914, allocations: 8.609 kB / 455.8 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.008944, allocations: 8.609 kB / 455.8 MB, free: 14.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.00895, allocations: 11.88 kB / 455.8 MB, free: 14.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.008975, allocations: 35.98 kB / 455.8 MB, free: 14.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008975, allocations: 0 / 455.8 MB, free: 14.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.009151, allocations: 36.55 kB / 455.8 MB, free: 14.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001082/0.00926, allocations: 81.86 kB / 455.9 MB, free: 14.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.009428, allocations: 167.2 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.009435, allocations: 8.484 kB / 456.1 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.009465, allocations: 22.83 kB / 456.1 MB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.009619, allocations: 35.92 kB / 456.2 MB, free: 13.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.01016, allocations: 240.4 kB / 456.4 MB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.0102, allocations: 67.83 kB / 456.5 MB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.231e-05/0.01024, allocations: 19.67 kB / 456.5 MB, free: 13.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.01033, allocations: 75.36 kB / 456.5 MB, free: 13.55 MB / 442.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01033, allocations: 0 / 456.5 MB, free: 13.55 MB / 442.7 MB Notification: Performance of Templates: time 0.003832/0.01416, allocations: 1.897 MB / 458.4 MB, free: 11.81 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5503763742744923]