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.001128/0.001128, allocations: 80.94 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.001519/0.001519, allocations: 177.4 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 0.9771/0.9771, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.7851/0.7851, allocations: 154.9 MB / 415.1 MB, free: 196 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 1.342e-06/1.342e-06, allocations: 0 / 480.4 MB, free: 6.449 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.595e-05, allocations: 4.625 kB / 480.4 MB, free: 6.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001257/0.001273, allocations: 0.8609 MB / 481.3 MB, free: 5.617 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002374, allocations: 1.239 MB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.002422, allocations: 0 / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.00245, allocations: 7.875 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.002529, allocations: 23.97 kB / 482.6 MB, free: 4.352 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.002862, allocations: 147 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.003024, allocations: 169.3 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.984e-05/0.003114, allocations: 35.66 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.003254, allocations: 99.84 kB / 483 MB, free: 3.926 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.003352, allocations: 49.31 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.003377, allocations: 15.94 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.003429, allocations: 24.81 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.003454, allocations: 19.92 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.003497, allocations: 44.98 kB / 483.2 MB, free: 3.777 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003634, allocations: 123.5 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003636, allocations: 0 / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003637, allocations: 4.625 kB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.564e-06/0.003639, allocations: 0 / 483.3 MB, free: 3.652 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.0004042/0.004043, allocations: 354.6 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.626e-05/0.00407, allocations: 8.031 kB / 483.6 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.004102, allocations: 23.17 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.004231, allocations: 145.6 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.00424, allocations: 4.375 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.004264, allocations: 16.38 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.00437, allocations: 86.84 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.004375, allocations: 1.062 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.004383, allocations: 384 / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.004388, allocations: 4.375 kB / 483.9 MB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.277e-05/0.00441, allocations: 20.92 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.004735, allocations: 224.7 kB / 484.2 MB, free: 2.711 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.579e-05/0.004771, allocations: 34.52 kB / 484.2 MB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.004785, allocations: 9.484 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.004797, allocations: 0.625 kB / 484.2 MB, free: 2.656 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.134e-05/0.004878, allocations: 84.03 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.004879, allocations: 0.625 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001541/0.005033, allocations: 73.66 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.005058, allocations: 55.97 kB / 484.4 MB, free: 2.418 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.005137, allocations: 152.6 kB / 484.6 MB, free: 2.258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.005154, allocations: 29.7 kB / 484.6 MB, free: 2.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.005201, allocations: 104.5 kB / 484.7 MB, free: 2.117 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.005221, allocations: 31.72 kB / 484.7 MB, free: 2.086 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.005276, allocations: 54.55 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.005351, allocations: 318.8 kB / 485.1 MB, free: 1.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.0054, allocations: 58.69 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.005479, allocations: 128.8 kB / 485.3 MB, free: 1.473 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.005598, allocations: 177.7 kB / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.005602, allocations: 3.938 kB / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001546/0.005757, allocations: 206.7 kB / 485.6 MB, free: 1.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.005782, allocations: 35.95 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.005787, allocations: 4.75 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.005798, allocations: 4 kB / 485.7 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.005858, allocations: 29.08 kB / 485.7 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.005863, allocations: 7.984 kB / 485.7 MB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.005946, allocations: 28.67 kB / 485.8 MB, free: 0.9258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.00596, allocations: 8 kB / 485.8 MB, free: 0.918 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 6.664e-05/0.006026, allocations: 138.4 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.006038, allocations: 11.98 kB / 485.9 MB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.006059, allocations: 8.781 kB / 485.9 MB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006061, allocations: 8.109 kB / 485.9 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.006062, allocations: 0 / 485.9 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006065, allocations: 0.75 kB / 485.9 MB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.006427, allocations: 246.6 kB / 486.2 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.006429, allocations: 1.344 kB / 486.2 MB, free: 500 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.006484, allocations: 11.98 kB / 486.2 MB, free: 488 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006487, allocations: 4 kB / 486.2 MB, free: 484 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.006495, allocations: 4.656 kB / 486.2 MB, free: 480 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006496, allocations: 0 / 486.2 MB, free: 480 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006497, allocations: 0.5938 kB / 486.2 MB, free: 480 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.006616, allocations: 180.8 kB / 486.4 MB, free: 284 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.006628, allocations: 15.91 kB / 486.4 MB, free: 268 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.006639, allocations: 0 / 486.4 MB, free: 268 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.006675, allocations: 4 kB / 486.4 MB, free: 264 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.006702, allocations: 16.81 kB / 486.4 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.006706, allocations: 0 / 486.4 MB, free: 248 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.008e-05/0.006726, allocations: 32.27 kB / 486.4 MB, free: 216 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006726, allocations: 0 / 486.4 MB, free: 216 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001553/0.006882, allocations: 31.94 kB / 486.5 MB, free: 184 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 9.036e-05/0.006972, allocations: 97.12 kB / 486.6 MB, free: 80 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.007131, allocations: 164.8 kB / 486.7 MB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.007135, allocations: 4 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.007176, allocations: 28.78 kB / 486.7 MB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.007311, allocations: 26.58 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.007627, allocations: 242.8 kB / 487 MB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.571e-05/0.007662, allocations: 69.62 kB / 487.1 MB, free: 15.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.957e-05/0.007702, allocations: 15.52 kB / 487.1 MB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.007778, allocations: 80.02 kB / 487.2 MB, free: 15.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.007778, allocations: 0 / 487.2 MB, free: 15.41 MB / 458.7 MB Notification: Performance of Templates: time 0.003364/0.01114, allocations: 1.84 MB / 489 MB, free: 13.72 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.573160287924111]