Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006837/0.0006837, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009272/0.001611, 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.0006843/0.0006843, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009467/0.001631, 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 1.067/1.067, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0896/1.157, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.8636/0.8636, allocations: 154.6 MB / 398.8 MB, free: 388 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2781/1.142, allocations: 49.05 MB / 447.8 MB, free: 6.578 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/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_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_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0.5469 kB / 449.2 MB, free: 5.207 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.3e-05/1.486e-05, allocations: 4.422 kB / 449.2 MB, free: 5.203 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001689/0.001704, allocations: 0.9119 MB / 450.1 MB, free: 4.336 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004395/0.006099, allocations: 1.225 MB / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.006179, allocations: 1.156 kB / 451.3 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.006217, allocations: 7.875 kB / 451.4 MB, free: 3.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.059e-05/0.006288, allocations: 21.88 kB / 451.4 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.006738, allocations: 153.4 kB / 451.5 MB, free: 2.926 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.006971, allocations: 161.7 kB / 451.7 MB, free: 2.785 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.007093, allocations: 30.73 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.007272, allocations: 116.6 kB / 451.8 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.007429, allocations: 43.86 kB / 451.9 MB, free: 2.605 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.007457, allocations: 13.22 kB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.007547, allocations: 27.98 kB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.253e-05/0.00758, allocations: 11.94 kB / 451.9 MB, free: 2.555 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.007635, allocations: 32.59 kB / 452 MB, free: 2.523 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.007823, allocations: 103.6 kB / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421e-05/0.007837, allocations: 0.7188 kB / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007837, allocations: 0 / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.007854, allocations: 1.094 kB / 452.1 MB, free: 2.422 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.0006803/0.008534, allocations: 380.9 kB / 452.4 MB, free: 2.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003049/0.01158, allocations: 8.031 kB / 452.4 MB, free: 2.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.01164, allocations: 20.92 kB / 452.5 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.01182, allocations: 155.4 kB / 452.6 MB, free: 1.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.01184, allocations: 8.375 kB / 452.6 MB, free: 1.809 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.01187, allocations: 16.38 kB / 452.6 MB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.01201, allocations: 79.47 kB / 452.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.01202, allocations: 192 / 452.7 MB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.01203, allocations: 4.938 kB / 452.7 MB, free: 1.703 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.01204, allocations: 5 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.01207, allocations: 18.78 kB / 452.7 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.01255, allocations: 225.9 kB / 453 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.886e-05/0.01259, allocations: 30.5 kB / 453 MB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.01262, allocations: 12.98 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.01263, allocations: 0.8438 kB / 453 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.01275, allocations: 84.59 kB / 453.1 MB, free: 1.301 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.01275, allocations: 0 / 453.1 MB, free: 1.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001456/0.01289, allocations: 77.59 kB / 453.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.01292, allocations: 56.84 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.01301, allocations: 144.8 kB / 453.4 MB, free: 1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.01304, allocations: 29.7 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.01309, allocations: 110 kB / 453.5 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.01311, allocations: 32.62 kB / 453.5 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.01318, allocations: 49.61 kB / 453.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.01326, allocations: 320.1 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.01332, allocations: 57.67 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-05/0.01341, allocations: 146.2 kB / 454.1 MB, free: 204 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.01357, allocations: 165 kB / 454.2 MB, free: 15.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.01357, allocations: 3.938 kB / 454.3 MB, free: 15.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003485/0.01392, allocations: 217.4 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.01396, allocations: 41.62 kB / 454.5 MB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01396, allocations: 4.625 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.01398, allocations: 4.625 kB / 454.5 MB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.01407, allocations: 23.92 kB / 454.5 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01407, allocations: 4.625 kB / 454.5 MB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01419, allocations: 28.61 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.01421, allocations: 16.61 kB / 454.6 MB, free: 15.64 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 8.462e-05/0.0143, allocations: 130.4 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.01432, allocations: 11.98 kB / 454.7 MB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.01435, allocations: 13.44 kB / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.01435, allocations: 1.75 kB / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01435, allocations: 0 / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01435, allocations: 0 / 454.7 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.01764, allocations: 254.6 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01765, allocations: 0 / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.0177, allocations: 8.906 kB / 455 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.01771, allocations: 7.953 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01771, allocations: 4.688 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01772, allocations: 3.984 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01772, allocations: 0.625 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.01772, allocations: 4 kB / 455 MB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.01787, allocations: 177.5 kB / 455.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.01788, allocations: 4 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.01794, allocations: 13.14 kB / 455.2 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.01797, allocations: 3.984 kB / 455.2 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01798, allocations: 8 kB / 455.2 MB, free: 14.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.719e-05/0.018, allocations: 28.05 kB / 455.2 MB, free: 14.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.018, allocations: 0 / 455.2 MB, free: 14.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.01825, allocations: 35.92 kB / 455.3 MB, free: 14.9 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.0001191/0.01836, allocations: 91.2 kB / 455.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.01855, allocations: 176.6 kB / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01856, allocations: 0 / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.0186, allocations: 29.55 kB / 455.6 MB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.01884, allocations: 149.5 kB / 455.7 MB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.01941, allocations: 236 kB / 456 MB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.068e-05/0.01946, allocations: 68.64 kB / 456 MB, free: 14.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.01951, allocations: 16.73 kB / 456 MB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.761e-05/0.0196, allocations: 83.34 kB / 456.1 MB, free: 13.98 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0196, allocations: 0 / 456.1 MB, free: 13.98 MB / 442.7 MB Notification: Performance of Templates: time 0.01008/0.02968, allocations: 1.831 MB / 457.9 MB, free: 12.3 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7137293312698603]