Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.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.001043/0.001043, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.00154/0.00154, allocations: 173 kB / 23.49 MB, free: 1.055 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.987/0.987, allocations: 177.1 MB / 203.8 MB, free: 5.641 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-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.7347/0.7347, allocations: 154.6 MB / 414.8 MB, free: 0.6875 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.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.5203 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.824e-05/3.089e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001431/0.001462, allocations: 0.6638 MB / 0.521 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.002583, allocations: 1.113 MB / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.002629, allocations: 0 / 0.522 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.002659, allocations: 3.938 kB / 0.522 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.002728, allocations: 0 / 0.522 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.003026, allocations: 52.27 kB / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.003122, allocations: 56.33 kB / 0.5222 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.003221, allocations: 12.97 kB / 0.5222 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.003307, allocations: 23.97 kB / 0.5222 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.003354, allocations: 15.98 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.003371, allocations: 5.469 kB / 0.5222 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.003433, allocations: 27.91 kB / 0.5222 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.003456, allocations: 8 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.003488, allocations: 11.98 kB / 0.5223 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003626, allocations: 52.56 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.003629, allocations: 4 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00363, allocations: 0.9062 kB / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.003635, allocations: 0 / 0.5223 GB, free: 0.5273 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005559/0.004191, allocations: 390.2 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.004246, allocations: 8.031 kB / 0.5227 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.004401, allocations: 8.891 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.004516, allocations: 117.3 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.004531, allocations: 384 / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.004543, allocations: 5.531 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.004711, allocations: 62.94 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.004721, allocations: 192 / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.004734, allocations: 5.719 kB / 0.5229 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.004743, allocations: 4.375 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.01e-05/0.004783, allocations: 11.88 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.005183, allocations: 276.5 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.005275, allocations: 44.48 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.93e-05/0.005304, allocations: 19.67 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.005323, allocations: 3.938 kB / 0.5232 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.354e-05/0.005417, allocations: 65.06 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.005419, allocations: 2.469 kB / 0.5233 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001997/0.005618, allocations: 73.67 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.005667, allocations: 51.41 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/0.005756, allocations: 165.9 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.00577, allocations: 29.7 kB / 0.5236 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.005818, allocations: 130.8 kB / 0.5237 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.005838, allocations: 20.47 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.005876, allocations: 31.36 kB / 0.5238 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.006007, allocations: 0.4893 MB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.006032, allocations: 7.984 kB / 0.5243 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.006071, allocations: 39.69 kB / 0.5243 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/0.006134, allocations: 63.39 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.006137, allocations: 0.5312 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.966e-05/0.006236, allocations: 70.84 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.006254, allocations: 7.938 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.006262, allocations: 8.609 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.006277, allocations: 4.031 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.00636, allocations: 12.59 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.006365, allocations: 1.062 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.006391, allocations: 7.984 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.0064, allocations: 8 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.118e-05/0.006481, allocations: 163 kB / 0.5246 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.006493, allocations: 11.89 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.006627, allocations: 70.11 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.006631, allocations: 4 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.006635, allocations: 0.5625 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.006638, allocations: 3.938 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.006867, allocations: 320.5 kB / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006869, allocations: 0 / 0.525 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.006903, allocations: 7.984 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.006908, allocations: 4 kB / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.006916, allocations: 0 / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.006919, allocations: 0 / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00692, allocations: 0 / 0.525 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.007043, allocations: 223.7 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.007051, allocations: 5.594 kB / 0.5252 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.007064, allocations: 7.984 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.007105, allocations: 4 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.007141, allocations: 3.984 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.007154, allocations: 6.375 kB / 0.5253 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.007194, allocations: 127.2 kB / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007194, allocations: 0 / 0.5254 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000161/0.007355, allocations: 12 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000169/0.007524, allocations: 99.23 kB / 0.5255 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.007643, allocations: 38.52 kB / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.007646, allocations: 0 / 0.5255 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/0.007689, allocations: 31.61 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.0079, allocations: 11.88 kB / 0.5256 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.008454, allocations: 147.4 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.008509, allocations: 59.34 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.869e-05/0.008537, allocations: 5.375 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.008569, allocations: 14.41 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.463e-06/0.00857, allocations: 0 / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.003014/0.01158, allocations: 0.8362 MB / 0.5266 GB, free: 11.81 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.872697865124792]