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.0006723/0.0006723, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009215/0.001594, allocations: 440 kB / 10.41 MB, free: 284 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.0006838/0.0006838, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009879/0.001672, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9799/0.9799, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09286/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.916/0.916, allocations: 155.3 MB / 399.5 MB, free: 15.79 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.3062/1.222, allocations: 49.13 MB / 448.6 MB, free: 5.918 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 2.235e-06/2.235e-06, allocations: 0 / 450 MB, free: 4.547 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.611e-05, allocations: 2.312 kB / 450 MB, free: 4.543 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002891/0.002917, allocations: 0.9065 MB / 450.9 MB, free: 3.676 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.004589, allocations: 1.233 MB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.229e-05/0.004671, allocations: 1.094 kB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.004715, allocations: 11.86 kB / 452.2 MB, free: 2.418 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.004801, allocations: 21.61 kB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005041/0.005305, allocations: 146 kB / 452.3 MB, free: 2.262 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.005593, allocations: 167 kB / 452.5 MB, free: 2.121 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.005729, allocations: 35.7 kB / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.005954, allocations: 105.9 kB / 452.6 MB, free: 1.984 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.006098, allocations: 45.84 kB / 452.7 MB, free: 1.941 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.006131, allocations: 12 kB / 452.7 MB, free: 1.93 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.006241, allocations: 27.91 kB / 452.7 MB, free: 1.902 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.006279, allocations: 19.94 kB / 452.7 MB, free: 1.883 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.006338, allocations: 35.92 kB / 452.8 MB, free: 1.848 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.006539, allocations: 84.31 kB / 452.9 MB, free: 1.766 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.006553, allocations: 0 / 452.9 MB, free: 1.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.006556, allocations: 4.609 kB / 452.9 MB, free: 1.762 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.006567, allocations: 9.531 kB / 452.9 MB, free: 1.754 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.0006919/0.007259, allocations: 383.8 kB / 453.2 MB, free: 1.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.007299, allocations: 12.03 kB / 453.3 MB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.00736, allocations: 18.92 kB / 453.3 MB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.007561, allocations: 149.5 kB / 453.4 MB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.007581, allocations: 8.375 kB / 453.4 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.00762, allocations: 16.36 kB / 453.4 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.007789, allocations: 80.89 kB / 453.5 MB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.007797, allocations: 2.312 kB / 453.5 MB, free: 1.039 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.00781, allocations: 12.3 kB / 453.5 MB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.007817, allocations: 384 / 453.5 MB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.007857, allocations: 16.88 kB / 453.6 MB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.008467, allocations: 232.7 kB / 453.8 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.008534, allocations: 22.52 kB / 453.8 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.008557, allocations: 13.69 kB / 453.8 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.008579, allocations: 4 kB / 453.8 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.008735, allocations: 74.72 kB / 453.9 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.008736, allocations: 0 / 453.9 MB, free: 0.6367 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001823/0.008919, allocations: 74.28 kB / 454 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.00896, allocations: 59.34 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.009078, allocations: 150.5 kB / 454.2 MB, free: 340 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.009105, allocations: 29.7 kB / 454.2 MB, free: 304 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.009174, allocations: 111.4 kB / 454.3 MB, free: 192 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.0092, allocations: 27.8 kB / 454.3 MB, free: 164 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.009277, allocations: 55.64 kB / 454.4 MB, free: 104 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.009394, allocations: 322.8 kB / 454.7 MB, free: 15.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.009475, allocations: 53.69 kB / 454.8 MB, free: 15.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.009596, allocations: 144.8 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.009782, allocations: 172.6 kB / 455.1 MB, free: 15.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.009788, allocations: 3.938 kB / 455.1 MB, free: 15.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002786/0.01007, allocations: 211.5 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.01011, allocations: 38.61 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01012, allocations: 0 / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.01014, allocations: 5 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.01025, allocations: 23.98 kB / 455.3 MB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.01026, allocations: 11.88 kB / 455.4 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.01041, allocations: 29.91 kB / 455.4 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.01043, allocations: 8 kB / 455.4 MB, free: 14.98 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 9.681e-05/0.01053, allocations: 134.1 kB / 455.5 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.01055, allocations: 8 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.01058, allocations: 14.14 kB / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01059, allocations: 4 kB / 455.6 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01059, allocations: 0 / 455.6 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.01059, allocations: 5.062 kB / 455.6 MB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.01092, allocations: 246.6 kB / 455.8 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01092, allocations: 0 / 455.8 MB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.01099, allocations: 16.7 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.01101, allocations: 7.953 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01101, allocations: 0.9062 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.01102, allocations: 4 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01103, allocations: 0.5938 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01103, allocations: 1.438 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.01123, allocations: 179.9 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.01125, allocations: 4 kB / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.475e-05/0.01131, allocations: 0 / 456 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.01135, allocations: 16.75 kB / 456 MB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.01136, allocations: 4 kB / 456 MB, free: 14.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.789e-05/0.0114, allocations: 32.8 kB / 456.1 MB, free: 14.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0114, allocations: 0 / 456.1 MB, free: 14.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.0117, allocations: 31.94 kB / 456.1 MB, free: 14.23 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.0001831/0.01188, allocations: 96.38 kB / 456.2 MB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.01212, allocations: 177.9 kB / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.01213, allocations: 0 / 456.4 MB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.164e-05/0.01218, allocations: 29.94 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.01244, allocations: 148.2 kB / 456.5 MB, free: 13.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007227/0.01317, allocations: 248.9 kB / 456.8 MB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.955e-05/0.01321, allocations: 63.84 kB / 456.8 MB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.872e-05/0.01326, allocations: 18.2 kB / 456.9 MB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.01336, allocations: 75.89 kB / 456.9 MB, free: 13.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/0.01336, allocations: 0.5312 kB / 456.9 MB, free: 13.31 MB / 442.7 MB Notification: Performance of Templates: time 0.003555/0.01692, allocations: 1.832 MB / 458.8 MB, free: 11.63 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.663161190226674]