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.001153/0.001153, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.004403/0.004403, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.094/1.094, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8712/0.8712, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.164e-06/2.164e-06, allocations: 0 / 480.5 MB, free: 6.453 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.645e-05, allocations: 4.703 kB / 480.5 MB, free: 6.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.004612/0.004638, allocations: 0.9025 MB / 481.4 MB, free: 5.586 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.006654, allocations: 1.233 MB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.294e-05/0.006747, allocations: 0 / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.625e-05/0.006793, allocations: 8.688 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.006921, allocations: 26.94 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.007476, allocations: 148.1 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.007729, allocations: 168 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.007863, allocations: 35.59 kB / 483 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.008077, allocations: 99.78 kB / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.008205, allocations: 48.78 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.008233, allocations: 9 kB / 483.1 MB, free: 3.836 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.019e-05/0.008324, allocations: 27.92 kB / 483.2 MB, free: 3.809 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.008354, allocations: 23.91 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.008414, allocations: 44.52 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.00861, allocations: 111.7 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.008614, allocations: 5.312 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008615, allocations: 3.938 kB / 483.4 MB, free: 3.625 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.008621, allocations: 0 / 483.4 MB, free: 3.625 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006153/0.009236, allocations: 359.1 kB / 483.7 MB, free: 3.246 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.009276, allocations: 12.03 kB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.009323, allocations: 16.91 kB / 483.7 MB, free: 3.219 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.009525, allocations: 150.6 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.009542, allocations: 8.375 kB / 483.9 MB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.009576, allocations: 20.25 kB / 483.9 MB, free: 3.023 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.009736, allocations: 86.09 kB / 484 MB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.009747, allocations: 4.125 kB / 484 MB, free: 2.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.00976, allocations: 5.062 kB / 484 MB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.009766, allocations: 384 / 484 MB, free: 2.926 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.009801, allocations: 20.52 kB / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.01035, allocations: 225.5 kB / 484.2 MB, free: 2.672 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.01041, allocations: 34.5 kB / 484.3 MB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.01044, allocations: 12.86 kB / 484.3 MB, free: 2.613 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.01045, allocations: 0.7812 kB / 484.3 MB, free: 2.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.01059, allocations: 84.8 kB / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 2.695e-06/0.0106, allocations: 0 / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001855/0.01078, allocations: 73.66 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.01082, allocations: 56.19 kB / 484.5 MB, free: 2.375 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.01095, allocations: 148 kB / 484.6 MB, free: 2.219 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.01099, allocations: 34.53 kB / 484.7 MB, free: 2.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.01106, allocations: 104.1 kB / 484.8 MB, free: 2.074 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.01109, allocations: 27.78 kB / 484.8 MB, free: 2.047 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.01117, allocations: 58.25 kB / 484.9 MB, free: 1.984 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01128, allocations: 319.4 kB / 485.2 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.01136, allocations: 57.69 kB / 485.2 MB, free: 1.602 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01148, allocations: 134 kB / 485.4 MB, free: 1.426 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.01167, allocations: 168 kB / 485.5 MB, free: 1.219 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.01167, allocations: 4.562 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000277/0.01195, allocations: 207.8 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.012, allocations: 35.89 kB / 485.8 MB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.01201, allocations: 4.531 kB / 485.8 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.01202, allocations: 4 kB / 485.8 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.01213, allocations: 30.02 kB / 485.8 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.01214, allocations: 7.922 kB / 485.8 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.01229, allocations: 23.98 kB / 485.8 MB, free: 0.8906 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.01231, allocations: 15.98 kB / 485.8 MB, free: 0.875 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 0.000101/0.01241, allocations: 130.6 kB / 486 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.01243, allocations: 9.422 kB / 486 MB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.01247, allocations: 12.78 kB / 486 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01247, allocations: 0 / 486 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.01247, allocations: 3.938 kB / 486 MB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01248, allocations: 1.75 kB / 486 MB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.01285, allocations: 254.6 kB / 486.3 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.01286, allocations: 0 / 486.3 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.01293, allocations: 11.98 kB / 486.3 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.01294, allocations: 1.438 kB / 486.3 MB, free: 440 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01295, allocations: 4 kB / 486.3 MB, free: 436 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01295, allocations: 4 kB / 486.3 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.01296, allocations: 4 kB / 486.3 MB, free: 428 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.01316, allocations: 180.1 kB / 486.5 MB, free: 232 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.01317, allocations: 9.953 kB / 486.5 MB, free: 224 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.01319, allocations: 0 / 486.5 MB, free: 224 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.01326, allocations: 7.984 kB / 486.5 MB, free: 216 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.0133, allocations: 7.984 kB / 486.5 MB, free: 208 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01331, allocations: 4 kB / 486.5 MB, free: 204 kB / 442.7 MB Notification: Performance of sorting global known variables: time 3.81e-05/0.01335, allocations: 32.3 kB / 486.5 MB, free: 172 kB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01335, allocations: 0 / 486.5 MB, free: 172 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003299/0.01368, allocations: 31.94 kB / 486.5 MB, free: 140 kB / 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.0001773/0.01385, allocations: 97.92 kB / 486.6 MB, free: 40 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.01412, allocations: 167.8 kB / 486.8 MB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.01412, allocations: 4 kB / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.01417, allocations: 29.41 kB / 486.8 MB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01442, allocations: 21.95 kB / 486.9 MB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.01495, allocations: 242.2 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.444e-05/0.01501, allocations: 70.16 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.191e-05/0.01507, allocations: 14.52 kB / 487.2 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.01519, allocations: 85.19 kB / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01519, allocations: 0 / 487.3 MB, free: 15.36 MB / 458.7 MB Notification: Performance of Templates: time 0.004842/0.02003, allocations: 1.839 MB / 489.1 MB, free: 13.68 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7958743129856884]