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.001172/0.001172, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001385/0.001385, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9654/0.9654, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7938/0.7938, allocations: 154.6 MB / 415.6 MB, free: 0.543 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.385e-06/2.385e-06, allocations: 0 / 0.5215 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.682e-05, allocations: 2.312 kB / 0.5215 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001342/0.001368, allocations: 0.6621 MB / 0.5222 GB, free: 204 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.002734, allocations: 1.105 MB / 0.5232 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.002786, allocations: 4 kB / 0.5232 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.808e-05/0.002814, allocations: 3.938 kB / 0.5232 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.002889, allocations: 15.72 kB / 0.5233 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.003155, allocations: 47.77 kB / 0.5233 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.451e-05/0.00324, allocations: 43.86 kB / 0.5233 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.003319, allocations: 12.77 kB / 0.5234 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.003391, allocations: 23.98 kB / 0.5234 GB, free: 14.94 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.003434, allocations: 28.73 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.003448, allocations: 4 kB / 0.5234 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.003506, allocations: 16 kB / 0.5234 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.003526, allocations: 10.77 kB / 0.5234 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.003548, allocations: 15.92 kB / 0.5235 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.003661, allocations: 55.8 kB / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003663, allocations: 0 / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.003665, allocations: 0 / 0.5235 GB, free: 14.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.003669, allocations: 0 / 0.5235 GB, free: 14.82 MB / 458.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.0003989/0.004067, allocations: 385 kB / 0.5239 GB, free: 14.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.004102, allocations: 12.53 kB / 0.5239 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.004182, allocations: 9.984 kB / 0.5239 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.44e-05/0.004256, allocations: 116.5 kB / 0.524 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.004268, allocations: 4.375 kB / 0.524 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.004277, allocations: 9.156 kB / 0.524 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.004377, allocations: 58.94 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004385, allocations: 4.812 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.004393, allocations: 4.375 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.004398, allocations: 1.188 kB / 0.5241 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.692e-05/0.004425, allocations: 19.89 kB / 0.5241 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.004687, allocations: 249.4 kB / 0.5243 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.689e-05/0.004754, allocations: 35.56 kB / 0.5244 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.004775, allocations: 16.7 kB / 0.5244 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.004787, allocations: 3.938 kB / 0.5244 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.716e-05/0.004864, allocations: 73.19 kB / 0.5245 GB, free: 13.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.004865, allocations: 0.9688 kB / 0.5245 GB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001435/0.005009, allocations: 69.62 kB / 0.5245 GB, free: 13.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.005044, allocations: 52.03 kB / 0.5246 GB, free: 13.57 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.005114, allocations: 169.8 kB / 0.5247 GB, free: 13.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.005125, allocations: 27.08 kB / 0.5248 GB, free: 13.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.005166, allocations: 130.9 kB / 0.5249 GB, free: 13.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.005184, allocations: 15.89 kB / 0.5249 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.005216, allocations: 27.36 kB / 0.5249 GB, free: 13.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.005323, allocations: 0.4889 MB / 0.5254 GB, free: 12.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.005339, allocations: 9.422 kB / 0.5254 GB, free: 12.67 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.00537, allocations: 42.73 kB / 0.5255 GB, free: 12.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.005422, allocations: 51.38 kB / 0.5255 GB, free: 12.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.005424, allocations: 1.312 kB / 0.5255 GB, free: 12.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.834e-05/0.005513, allocations: 74.06 kB / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.005523, allocations: 4.75 kB / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.005529, allocations: 3.938 kB / 0.5256 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.00554, allocations: 4.562 kB / 0.5256 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.005604, allocations: 16.84 kB / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.005608, allocations: 0 / 0.5256 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.005636, allocations: 15.92 kB / 0.5256 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.005643, allocations: 4.969 kB / 0.5256 GB, free: 12.42 MB / 458.7 MB 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 7.663e-05/0.00572, allocations: 160.6 kB / 0.5258 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.00573, allocations: 9.078 kB / 0.5258 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.918e-05/0.00583, allocations: 77.98 kB / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005831, allocations: 0 / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.005833, allocations: 4.844 kB / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005836, allocations: 0 / 0.5259 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.00602, allocations: 294.9 kB / 0.5262 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.006022, allocations: 0 / 0.5262 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.794e-05/0.00605, allocations: 10.73 kB / 0.5262 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.006053, allocations: 3.938 kB / 0.5262 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.006058, allocations: 3.938 kB / 0.5262 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.00606, allocations: 4 kB / 0.5262 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006061, allocations: 0 / 0.5262 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.741e-05/0.006159, allocations: 203.9 kB / 0.5264 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.006166, allocations: 4 kB / 0.5264 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006177, allocations: 11.92 kB / 0.5264 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.006218, allocations: 6.812 kB / 0.5264 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.006244, allocations: 7.984 kB / 0.5264 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.006253, allocations: 0 / 0.5264 GB, free: 11.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.006288, allocations: 127.4 kB / 0.5265 GB, free: 11.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006288, allocations: 0 / 0.5265 GB, free: 11.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001632/0.006451, allocations: 16 kB / 0.5265 GB, free: 11.43 MB / 458.7 MB 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.0001039/0.006555, allocations: 108.5 kB / 0.5266 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.00664, allocations: 43.69 kB / 0.5267 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006642, allocations: 1 kB / 0.5267 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.006671, allocations: 23.61 kB / 0.5267 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.006849, allocations: 12.59 kB / 0.5267 GB, free: 11.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.00722, allocations: 139.5 kB / 0.5269 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.402e-05/0.007254, allocations: 66.72 kB / 0.5269 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.298e-05/0.007277, allocations: 4 kB / 0.5269 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.007324, allocations: 70.2 kB / 0.527 GB, free: 10.91 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007325, allocations: 0 / 0.527 GB, free: 10.91 MB / 458.7 MB Notification: Performance of Templates: time 0.002411/0.009736, allocations: 0.9353 MB / 0.5279 GB, free: 10.03 MB / 458.7 MB " [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.398847901262343]