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.0008111/0.0008111, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008129/0.0008129, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8894/0.8894, allocations: 177.1 MB / 203.5 MB, free: 5.715 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-531:686: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-531:694: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.6897/0.6897, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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. " [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.022e-06/1.022e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.716e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.001866/0.001883, allocations: 1.79 MB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.002633, allocations: 0.5532 MB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.417e-05/0.002717, allocations: 7.938 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.002836, allocations: 27.67 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.002891, allocations: 31.72 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.003082, allocations: 63.91 kB / 0.6218 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.003251, allocations: 183.3 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.003366, allocations: 29.78 kB / 0.622 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.945e-05/0.003455, allocations: 79.8 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.844e-05/0.003514, allocations: 47.75 kB / 0.6221 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.003537, allocations: 12 kB / 0.6221 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.00355, allocations: 8 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.003577, allocations: 23.92 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.003615, allocations: 39.84 kB / 0.6222 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.003761, allocations: 139.4 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003762, allocations: 0 / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003763, allocations: 4 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.003767, allocations: 0 / 0.6223 GB, free: 10.11 MB / 0.5886 GB 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.0004861/0.004253, allocations: 427.1 kB / 0.6227 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.004287, allocations: 8.031 kB / 0.6227 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.004327, allocations: 28.78 kB / 0.6227 GB, free: 9.621 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.004531, allocations: 181.4 kB / 0.6229 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.004541, allocations: 8.375 kB / 0.6229 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.004565, allocations: 12.38 kB / 0.6229 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.004755, allocations: 145.7 kB / 0.6231 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.004762, allocations: 192 / 0.6231 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.004776, allocations: 8.375 kB / 0.6231 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004782, allocations: 3.938 kB / 0.6231 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.004905, allocations: 79.75 kB / 0.6232 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.005462, allocations: 0.6533 MB / 0.6238 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.005549, allocations: 46.56 kB / 0.6238 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.005602, allocations: 32.83 kB / 0.6239 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.005619, allocations: 0 / 0.6239 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.005758, allocations: 122.7 kB / 0.624 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 1.694e-06/0.00576, allocations: 7.984 kB / 0.624 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0002765/0.006037, allocations: 157.5 kB / 0.6242 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.006095, allocations: 144.4 kB / 0.6243 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.006232, allocations: 192.1 kB / 0.6245 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.006245, allocations: 25.7 kB / 0.6245 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.006305, allocations: 131.9 kB / 0.6246 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.006328, allocations: 31.92 kB / 0.6247 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.006376, allocations: 45.95 kB / 0.6247 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.006452, allocations: 330.8 kB / 0.625 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.006517, allocations: 39.97 kB / 0.625 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.006612, allocations: 134.6 kB / 0.6252 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.006783, allocations: 202.3 kB / 0.6254 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.006786, allocations: 8 kB / 0.6254 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002142/0.007, allocations: 209.5 kB / 0.6256 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.007012, allocations: 12.06 kB / 0.6256 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.007018, allocations: 4.25 kB / 0.6256 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.00703, allocations: 4 kB / 0.6256 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.38e-05/0.007094, allocations: 39.86 kB / 0.6256 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.007101, allocations: 7.984 kB / 0.6256 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.007171, allocations: 27.88 kB / 0.6257 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.007179, allocations: 8 kB / 0.6257 GB, free: 6.309 MB / 0.5886 GB 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,intDef.trigger_internal,intNoReset.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.524e-05/0.007254, allocations: 142.6 kB / 0.6258 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.00727, allocations: 19.84 kB / 0.6258 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.007297, allocations: 25.45 kB / 0.6259 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007299, allocations: 0 / 0.6259 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.007304, allocations: 4 kB / 0.6259 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.00731, allocations: 0 / 0.6259 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.007714, allocations: 457.2 kB / 0.6263 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007716, allocations: 0 / 0.6263 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.394e-05/0.00777, allocations: 19.98 kB / 0.6263 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.007773, allocations: 4 kB / 0.6263 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.007783, allocations: 4 kB / 0.6263 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.007785, allocations: 0 / 0.6263 GB, free: 5.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.007785, allocations: 4 kB / 0.6263 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.008076, allocations: 359.3 kB / 0.6267 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.008093, allocations: 23.84 kB / 0.6267 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.008108, allocations: 7.969 kB / 0.6267 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.008188, allocations: 15.98 kB / 0.6267 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.008226, allocations: 11.98 kB / 0.6267 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.008234, allocations: 8 kB / 0.6267 GB, free: 5.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.008299, allocations: 133.2 kB / 0.6269 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008299, allocations: 3.938 kB / 0.6269 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000215/0.008514, allocations: 28 kB / 0.6269 GB, free: 5 MB / 0.5886 GB 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 6.779e-05/0.008582, allocations: 103.2 kB / 0.627 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.008768, allocations: 120.4 kB / 0.6271 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.00877, allocations: 0 / 0.6271 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.00885, allocations: 47.91 kB / 0.6272 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.009182, allocations: 71.09 kB / 0.6272 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.009595, allocations: 359 kB / 0.6276 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.009662, allocations: 116.2 kB / 0.6277 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.009697, allocations: 20.5 kB / 0.6277 GB, free: 4.113 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.009698, allocations: 4 kB / 0.6277 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of Templates: time 0.00231/0.01201, allocations: 2.151 MB / 0.6298 GB, free: 1.969 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.040023786015809] Failed to read output from testmodel.py, exit status != 0: 0.016171676106750965 0.023514677 0.018250781 Calling exit ...