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.001086/0.001086, allocations: 80.75 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.001346/0.001346, allocations: 181 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 0.9841/0.9841, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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.7623/0.7623, allocations: 154.6 MB / 414.8 MB, free: 496 kB / 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. " [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.943e-06/1.943e-06, allocations: 0 / 480 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.597e-05, allocations: 2.312 kB / 480 MB, free: 6.836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003544/0.00357, allocations: 1.824 MB / 481.8 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004893, allocations: 0.5778 MB / 482.4 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.005033, allocations: 7.938 kB / 482.4 MB, free: 4.449 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.005193, allocations: 26.31 kB / 482.4 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.005304, allocations: 26.22 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.005583, allocations: 75.77 kB / 482.5 MB, free: 4.336 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.005826, allocations: 176.2 kB / 482.7 MB, free: 4.168 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.005976, allocations: 38.41 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.006157, allocations: 75.81 kB / 482.8 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.006252, allocations: 39.88 kB / 482.9 MB, free: 4.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.006292, allocations: 12 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.149e-05/0.006314, allocations: 8.969 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.006366, allocations: 35.84 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.006425, allocations: 35.84 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.006623, allocations: 108.2 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.006626, allocations: 0 / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.006627, allocations: 0.6562 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.006631, allocations: 0 / 483.1 MB, free: 3.824 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000587/0.007218, allocations: 368.4 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.007255, allocations: 13.38 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.00731, allocations: 20.92 kB / 483.5 MB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.007542, allocations: 175.6 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.007559, allocations: 8.375 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.007591, allocations: 12.38 kB / 483.7 MB, free: 3.203 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.007801, allocations: 135.1 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.007811, allocations: 192 / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.007824, allocations: 5.406 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.007833, allocations: 3.938 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/0.007899, allocations: 36.75 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.008517, allocations: 0.5717 MB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.435e-05/0.008581, allocations: 27.17 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.008603, allocations: 13.42 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.008619, allocations: 0.6562 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.008738, allocations: 106.7 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.008739, allocations: 0.625 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001898/0.008929, allocations: 90.66 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.008994, allocations: 132.5 kB / 484.8 MB, free: 1.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.009125, allocations: 192.8 kB / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.009143, allocations: 30.52 kB / 485 MB, free: 1.738 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.02e-05/0.009204, allocations: 120.6 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.00923, allocations: 45.5 kB / 485.1 MB, free: 1.574 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.009279, allocations: 41.64 kB / 485.2 MB, free: 1.527 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.009373, allocations: 334.8 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.009395, allocations: 12 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.009467, allocations: 114.6 kB / 485.6 MB, free: 1.016 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.009592, allocations: 164.3 kB / 485.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.009595, allocations: 0 / 485.8 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001442/0.009739, allocations: 137.1 kB / 485.9 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.009757, allocations: 15.92 kB / 485.9 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.009765, allocations: 4 kB / 485.9 MB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.009777, allocations: 4.875 kB / 486 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.009856, allocations: 31.92 kB / 486 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.009861, allocations: 5.406 kB / 486 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.009925, allocations: 23.89 kB / 486 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.009932, allocations: 4 kB / 486 MB, free: 0.5859 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 9.044e-05/0.01002, allocations: 134.3 kB / 486.1 MB, free: 456 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.01004, allocations: 16.52 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.01008, allocations: 28.12 kB / 486.2 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01008, allocations: 1.688 kB / 486.2 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.01008, allocations: 0 / 486.2 MB, free: 408 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.01009, allocations: 11.98 kB / 486.2 MB, free: 396 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.0104, allocations: 334.6 kB / 486.5 MB, free: 36 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01041, allocations: 3.938 kB / 486.5 MB, free: 32 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.01045, allocations: 20.8 kB / 486.6 MB, free: 12 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01046, allocations: 0 / 486.6 MB, free: 12 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.01047, allocations: 8.719 kB / 486.6 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01047, allocations: 0 / 486.6 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/0.01049, allocations: 9.016 kB / 486.6 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.01066, allocations: 269.9 kB / 486.8 MB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.01068, allocations: 16.38 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.0107, allocations: 8.781 kB / 486.9 MB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.01077, allocations: 7.984 kB / 486.9 MB, free: 15.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.01081, allocations: 25.22 kB / 486.9 MB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.01081, allocations: 0 / 486.9 MB, free: 15.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003306/0.01114, allocations: 52.52 kB / 486.9 MB, free: 15.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01114, allocations: 0 / 486.9 MB, free: 15.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001989/0.01134, allocations: 33.88 kB / 487 MB, free: 15.57 MB / 458.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 9.317e-05/0.01144, allocations: 82.92 kB / 487.1 MB, free: 15.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001161/0.01155, allocations: 78.58 kB / 487.1 MB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.01156, allocations: 1.312 kB / 487.1 MB, free: 15.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.0116, allocations: 32.78 kB / 487.2 MB, free: 15.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.01189, allocations: 73.95 kB / 487.2 MB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.0123, allocations: 338 kB / 487.6 MB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.01234, allocations: 71.98 kB / 487.6 MB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.665e-05/0.0124, allocations: 19.52 kB / 487.7 MB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.01248, allocations: 83.36 kB / 487.7 MB, free: 14.75 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01249, allocations: 2.219 kB / 487.7 MB, free: 14.75 MB / 458.7 MB Notification: Performance of Templates: time 0.003992/0.01648, allocations: 2.194 MB / 489.9 MB, free: 12.74 MB / 458.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.6762874550186098]