Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.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.0009723/0.0009723, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002243, 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.0009688/0.0009688, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001197/0.002166, 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.9096/0.9096, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08431/0.9939, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7978/0.7978, allocations: 154.6 MB / 398.5 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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.2649/1.063, allocations: 49.04 MB / 447.6 MB, free: 6.711 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/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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.653e-05, allocations: 5.047 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.001982/0.001999, allocations: 1.882 MB / 450.8 MB, free: 3.559 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006812/0.00268, allocations: 0.5811 MB / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.002767, allocations: 4.703 kB / 451.4 MB, free: 2.973 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.447e-05/0.002842, allocations: 29.47 kB / 451.4 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.002899, allocations: 27.78 kB / 451.4 MB, free: 2.93 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.003022, allocations: 76.77 kB / 451.5 MB, free: 2.855 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.003201, allocations: 174 kB / 451.7 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.003332, allocations: 35.89 kB / 451.7 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.003463, allocations: 87.78 kB / 451.8 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.003526, allocations: 43.88 kB / 451.8 MB, free: 2.531 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.003554, allocations: 8 kB / 451.8 MB, free: 2.523 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.455e-05/0.003569, allocations: 17.16 kB / 451.9 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.544e-05/0.003594, allocations: 23.88 kB / 451.9 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.003634, allocations: 31.88 kB / 451.9 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.003778, allocations: 84.45 kB / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.688e-05/0.003795, allocations: 0 / 452 MB, free: 2.371 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003795, allocations: 3.938 kB / 452 MB, free: 2.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.042e-05/0.003816, allocations: 5.344 kB / 452 MB, free: 2.363 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005225/0.004338, allocations: 393.9 kB / 452.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.851e-05/0.004367, allocations: 9.281 kB / 452.4 MB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.004406, allocations: 28.91 kB / 452.4 MB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.004577, allocations: 163 kB / 452.6 MB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.004589, allocations: 9.594 kB / 452.6 MB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.004611, allocations: 22.42 kB / 452.6 MB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.004763, allocations: 139.1 kB / 452.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.004771, allocations: 192 / 452.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.004782, allocations: 4.375 kB / 452.8 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.004789, allocations: 7.938 kB / 452.8 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.004837, allocations: 31.23 kB / 452.8 MB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.00561, allocations: 0.5681 MB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.138e-05/0.005681, allocations: 32.62 kB / 453.4 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.222e-05/0.005703, allocations: 8.859 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.005725, allocations: 4.75 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.00584, allocations: 107.9 kB / 453.5 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.005841, allocations: 0 / 453.5 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001434/0.005984, allocations: 86.16 kB / 453.6 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.006041, allocations: 141.1 kB / 453.7 MB, free: 484 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.006138, allocations: 187.5 kB / 453.9 MB, free: 288 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.006154, allocations: 33.7 kB / 454 MB, free: 248 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.006212, allocations: 125.1 kB / 454.1 MB, free: 120 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.006231, allocations: 27.78 kB / 454.1 MB, free: 92 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.006272, allocations: 45.64 kB / 454.1 MB, free: 40 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.006367, allocations: 331.9 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.006385, allocations: 11.98 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.29e-05/0.006448, allocations: 114.6 kB / 454.6 MB, free: 15.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.006561, allocations: 160.6 kB / 454.8 MB, free: 15.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.006565, allocations: 4.906 kB / 454.8 MB, free: 15.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001436/0.006708, allocations: 140.3 kB / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.006722, allocations: 8.562 kB / 454.9 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.006729, allocations: 4 kB / 454.9 MB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.006742, allocations: 12.61 kB / 454.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.006827, allocations: 32.55 kB / 455 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.006835, allocations: 15.92 kB / 455 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.67e-05/0.006892, allocations: 20.52 kB / 455 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.006899, allocations: 8.562 kB / 455 MB, free: 15.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intNoReset.trigger_internal,intDef.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.173e-05/0.006971, allocations: 135.4 kB / 455.1 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.606e-05/0.006987, allocations: 19.86 kB / 455.1 MB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.007019, allocations: 23.19 kB / 455.2 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.007022, allocations: 4 kB / 455.2 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.007024, allocations: 0 / 455.2 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007028, allocations: 3.984 kB / 455.2 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.007323, allocations: 336.1 kB / 455.5 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007325, allocations: 0 / 455.5 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.007379, allocations: 19.92 kB / 455.5 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.007396, allocations: 24.83 kB / 455.5 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.0074, allocations: 4 kB / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.00741, allocations: 0 / 455.6 MB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.007412, allocations: 4.469 kB / 455.6 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007414, allocations: 5.031 kB / 455.6 MB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/0.007574, allocations: 268.4 kB / 455.8 MB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.007591, allocations: 13 kB / 455.8 MB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.00766, allocations: 7.984 kB / 455.8 MB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.007698, allocations: 17.94 kB / 455.9 MB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.007705, allocations: 6.344 kB / 455.9 MB, free: 14.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.00774, allocations: 49.86 kB / 455.9 MB, free: 14.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00774, allocations: 0 / 455.9 MB, free: 14.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000172/0.007912, allocations: 28 kB / 455.9 MB, free: 14.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.572e-05/0.007997, allocations: 84.73 kB / 456 MB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.008098, allocations: 82.53 kB / 456.1 MB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.008104, allocations: 4 kB / 456.1 MB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.008142, allocations: 29.53 kB / 456.1 MB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.00842, allocations: 85.41 kB / 456.2 MB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.008954, allocations: 341.1 kB / 456.6 MB, free: 13.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.008999, allocations: 75.98 kB / 456.6 MB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.563e-05/0.009045, allocations: 17.69 kB / 456.6 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.83e-05/0.009123, allocations: 83.34 kB / 456.7 MB, free: 13.25 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009123, allocations: 0 / 456.7 MB, free: 13.25 MB / 442.7 MB Notification: Performance of Templates: time 0.00373/0.01285, allocations: 2.24 MB / 459 MB, free: 11.2 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.66176182590425]